webmcp
diff framework/env/param/__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 |
line diff
1.1 --- a/framework/env/param/__init.lua Mon Mar 16 23:21:18 2015 +0100 1.2 +++ b/framework/env/param/__init.lua Tue Mar 17 11:42:34 2015 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -request.add_initializer(function() 1.5 +request.for_each(function() 1.6 param._exchanged = false -- important to be false, not nil 1.7 param._saved = {} -- stack 1.8 end)