Jump to content

Module:Arguments: Difference between revisions

oops, forgot the first parameter to tidyVal
m>Mr. Stradivarius
(add options.frameOnly and options.parentOnly)
m>Mr. Stradivarius
(oops, forgot the first parameter to tidyVal)
Line 88: Line 88:
else
else
for i, argTable in ipairs(argTables) do
for i, argTable in ipairs(argTables) do
local argTableVal = tidyVal(argTable[key])
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
if argTableVal ~= nil then
metaArgs[key] = argTableVal
metaArgs[key] = argTableVal
Line 119: Line 119:
return ipairs(metaArgs)
return ipairs(metaArgs)
end
end
 
return args
return args
end
end


return arguments
return arguments
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.