Content deleted Content added
convert p.getLinkFunctions to p.getLinks, so that we don't load the /extra module every time; __pairs function still buggy |
update the p.linktable function to use the new links table |
||
Line 508:
local args = {user = 'Example'}
local snippets = p.getSnippets(args)
local
-- Assemble the codes and links in order
Line 515:
for i, code in ipairs(firstCodes) do
firstCodesKeys[code] = true
▲ firstLinks[#firstLinks + 1] = {code, link}
end
local secondLinks = {}
for code,
if not firstCodesKeys[code] then
▲ secondLinks[#secondLinks + 1] = {code, link}
end
end
|