equal
deleted
inserted
replaced
36 |
36 |
37 -- We need this to let modules access the real global namespace |
37 -- We need this to let modules access the real global namespace |
38 local _G = _G; |
38 local _G = _G; |
39 |
39 |
40 local _ENV = nil; |
40 local _ENV = nil; |
|
41 -- luacheck: std none |
41 |
42 |
42 local load_modules_for_host, load, unload, reload, get_module, get_items; |
43 local load_modules_for_host, load, unload, reload, get_module, get_items; |
43 local get_modules, is_loaded, module_has_method, call_module_method; |
44 local get_modules, is_loaded, module_has_method, call_module_method; |
44 |
45 |
45 -- [host] = { [module] = module_env } |
46 -- [host] = { [module] = module_env } |