Comparison

core/modulemanager.lua @ 7947:24170d74b00b

core: Split some very long lines [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 04 Mar 2017 17:49:48 +0100
parent 7303:439d00063620
child 8555:4f0f5b49bb03
comparison
equal deleted inserted replaced
7945:1f4a0e0b7167 7947:24170d74b00b
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 41
42 local load_modules_for_host, load, unload, reload, get_module, get_items, get_modules, is_loaded, module_has_method, call_module_method; 42 local load_modules_for_host, load, unload, reload, get_module, get_items;
43 local get_modules, is_loaded, module_has_method, call_module_method;
43 44
44 -- [host] = { [module] = module_env } 45 -- [host] = { [module] = module_env }
45 local modulemap = { ["*"] = {} }; 46 local modulemap = { ["*"] = {} };
46 47
47 -- Load modules when a host is activated 48 -- Load modules when a host is activated