Comparison

core/modulemanager.lua @ 5411:82b3ddba0ec7

modulemanager: add missing ipairs import.
author Marco Cirillo <maranda@lightwitch.org>
date Mon, 01 Apr 2013 23:41:57 +0000
parent 5410:bea93cfd6c54
child 5776:bd0ff8ae98a8
child 6034:ee14da71d3fc
comparison
equal deleted inserted replaced
5410:bea93cfd6c54 5411:82b3ddba0ec7
17 local hosts = hosts; 17 local hosts = hosts;
18 local prosody = prosody; 18 local prosody = prosody;
19 19
20 local pcall, xpcall = pcall, xpcall; 20 local pcall, xpcall = pcall, xpcall;
21 local setmetatable, rawget = setmetatable, rawget; 21 local setmetatable, rawget = setmetatable, rawget;
22 local pairs, type, tostring, t_insert = pairs, type, tostring, table.insert; 22 local ipairs, pairs, type, tostring, t_insert = ipairs, pairs, type, tostring, table.insert;
23 23
24 local debug_traceback = debug.traceback; 24 local debug_traceback = debug.traceback;
25 local unpack, select = unpack, select; 25 local unpack, select = unpack, select;
26 pcall = function(f, ...) 26 pcall = function(f, ...)
27 local n = select("#", ...); 27 local n = select("#", ...);