webmcp
diff framework/env/__init.lua @ 206:eb3e236d261d
Code cleanup and work on Moonbridge integration
author | jbe |
---|---|
date | Fri Jan 09 22:28:39 2015 +0100 (2015-01-09) |
parents | c6ef9991b911 |
children | 77c4774e8342 |
line diff
1.1 --- a/framework/env/__init.lua Fri Jan 09 21:32:23 2015 +0100 1.2 +++ b/framework/env/__init.lua Fri Jan 09 22:28:39 2015 +0100 1.3 @@ -46,4 +46,21 @@ 1.4 atom = require 'atom' 1.5 json = require 'json' 1.6 require 'mondelefant_atom_connector' 1.7 +http = require 'http' 1.8 1.9 +--[[-- 1.10 +app -- table to store an application state 1.11 + 1.12 +'app' is a global table for storing any application state data 1.13 +--]]-- 1.14 +app = {} 1.15 +--//-- 1.16 + 1.17 +--[[-- 1.18 +config -- table to store application configuration 1.19 + 1.20 +'config' is a global table, which can be modified by a config file of an application to modify the behaviour of that application. 1.21 +--]]-- 1.22 +config = {} 1.23 +--//-- 1.24 +