Module:Sandbox/Jackmcbarn: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
smuggle state
Jackmcbarn (talk | contribs)
different method of breaking isolation
Line 2:
 
function p.main(frame)
return frame:extensionTag('hiero', 'foo'):sub(29, 36)
local oldClock = os.clock()
mw.loadData('Module:Sandbox/Jackmcbarn/slow')
if os.clock() - oldClock > 0.001 then
return 'this is the first time this module was called on this page, time is ' .. os.clock() - oldClock
else
return 'this module has previously been called on this page, time is ' .. os.clock() - oldClock
end
end