Changes

no edit summary
Line 6: Line 6:     
local _ = require('Module:Core')
 
local _ = require('Module:Core')
 +
 +
local DummyFrame = {}
 +
 +
function DummyFrame:preprocess(x)
 +
  return x
 +
end
    
return function(render, test)
 
return function(render, test)
Line 12: Line 18:  
       return render(frame and _.getTemplateArgs(frame) or {}, frame)
 
       return render(frame and _.getTemplateArgs(frame) or {}, frame)
 
     end,
 
     end,
     test = function(frame)
+
     test = function()
       return render(test, frame)
+
       return render(test, DummyFrame)
 
     end,
 
     end,
 
   }
 
   }
 
end
 
end
cssedit, gkautomate
7,064

edits