webmcp

annotate 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
rev   line source
jbe@262 1 request.for_each(function()
jbe@260 2
jbe@262 3 slot._active_slot = "default"
jbe@262 4
jbe@262 5 slot._current_layout = "default"
jbe@262 6 slot._content_type = nil
jbe@260 7
jbe@260 8 slot._data = nil
jbe@260 9 slot.reset_all()
jbe@260 10
jbe/bsw@0 11 end

Impressum / About Us