2 -- Copyright (C) 2008-2010 Matthew Wild
3 -- Copyright (C) 2008-2010 Waqas Hussain
5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information.
11 local unpack
= table.unpack
or unpack
; --luacheck: ignore 113
12 local t_insert
= table.insert
;
13 function _G
.import(module
, ...)
14 local m
= package
.loaded
[module
] or require(module
);
15 if type(m
) == "table" and ... then
17 for _
, f
in ipairs
{...} do