Comparison

core/modulemanager.lua @ 8555:4f0f5b49bb03

vairious: Add annotation when an empty environment is set [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 28 Feb 2018 20:06:26 +0100
parent 7947:24170d74b00b
child 8717:9ddd0fbbe53a
comparison
equal deleted inserted replaced
8554:12a68e0d0ecf 8555:4f0f5b49bb03
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 }