webmcp
changeset 207:77c4774e8342
Load "moonbridge_http" locally in framework/bin/mcp.lua
author | jbe |
---|---|
date | Fri Jan 09 22:53:07 2015 +0100 (2015-01-09) |
parents | eb3e236d261d |
children | 2c2bcde0df79 |
files | framework/bin/mcp.lua framework/env/__init.lua |
line diff
1.1 --- a/framework/bin/mcp.lua Fri Jan 09 22:28:39 2015 +0100 1.2 +++ b/framework/bin/mcp.lua Fri Jan 09 22:53:07 2015 +0100 1.3 @@ -190,6 +190,7 @@ 1.4 1.5 -- invoke moonbridge 1.6 if WEBMCP_MODE == "listen" then 1.7 + local http = require("moonbridge_http") 1.8 local moonbridge_listen = listen 1.9 local listeners 1.10 function _G.listen(args)
2.1 --- a/framework/env/__init.lua Fri Jan 09 22:28:39 2015 +0100 2.2 +++ b/framework/env/__init.lua Fri Jan 09 22:53:07 2015 +0100 2.3 @@ -46,7 +46,6 @@ 2.4 atom = require 'atom' 2.5 json = require 'json' 2.6 require 'mondelefant_atom_connector' 2.7 -http = require 'http' 2.8 2.9 --[[-- 2.10 app -- table to store an application state