Module:Module introspection: Difference between revisions

Ganaram inukshuk (talk | contribs)
m bugfix
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 104: Line 104:
-- If the function is invokable (it has one param called "frame"), add
-- If the function is invokable (it has one param called "frame"), add
-- "invokable" to that cell
-- "invokable" to that cell
if #info.params == 1 and string.lower(info.params[1]) == frame then
if string.lower(params_string) == ("frame") then
func = func .. " '''(invokable)'''"
func = func .. " '''(invokable)'''"
end
end