roundlake/styx — pull request #4 by KL-7 (2012-01-21 16:27:31+00:00)
Title: Access initializer's action methods by string name.

Fixes syntax errors for the cases when controller action's name coincides with one of the JavaScript keywords, e.g. 'new'. While most browsers do not complain about method named 'new' it's not a valid identifier and some JS parsers report syntax error.

Replacing

Styx.Initializers.Sessions.new

with

Styx.Initializers.Sessions['new']

fixes the problem.