moonbridge
changeset 63:12950c28b73a
Optimized module preamble
author | jbe |
---|---|
date | Mon Mar 30 00:44:18 2015 +0200 (2015-03-30) |
parents | 4addbd3aad44 |
children | 5df424e74383 |
files | moonbridge_http.lua |
line diff
1.1 --- a/moonbridge_http.lua Tue Mar 24 21:34:00 2015 +0100 1.2 +++ b/moonbridge_http.lua Mon Mar 30 00:44:18 2015 +0200 1.3 @@ -7,7 +7,7 @@ 1.4 local value = _M[key]; if value ~= nil then return value end 1.5 return _G[key] 1.6 end, 1.7 - __newindex = function(self, key, value) _M[key] = value end 1.8 + __newindex = _M 1.9 }) 1.10 1.11 -- function that encodes certain HTML entities: