webmcp

view framework/env/slot/__init.lua @ 262:c3d539e33710

Replaced request.add_initializer(...) and request.add_variable(...) with request.for_each(...) and request.configure(...) which both execute the passed function once in any case when being called
author jbe
date Tue Mar 17 11:42:34 2015 +0100 (2015-03-17)
parents f491011ebe16
children a88662f795e0
line source
1 request.for_each(function()
3 slot._active_slot = "default"
5 slot._current_layout = "default"
6 slot._content_type = nil
8 slot._data = nil
9 slot.reset_all()
11 end

Impressum / About Us