Module:LuaCall: Difference between revisions
From Test Wiki
Content deleted Content added
p.get is a function intended to be used from WIkitext; returning _G has no usecase |
Removing false comment and more commented out code |
||
| Line 45: | Line 45: | ||
local args = {} |
local args = {} |
||
for _, v in ... do |
for _, v in ... do |
||
--table.insert(args, tonumber(v) or v:gsub("^\\", "", 1)) |
|||
table.insert(args, tonumberOrString(v)) |
table.insert(args, tonumberOrString(v)) |
||
end |
end |
||
| Line 51: | Line 50: | ||
end |
end |
||
-- ipairsAt()/ipairsAtOffset() will be proposed to be placed in [[Module:TableTools]] |
|||
--[[ |
--[[ |
||
------------------------------------------------------------------------------------ |
------------------------------------------------------------------------------------ |
||