Sha256: 6cfa8fc2d3c75cc661abaee4a5a0eda55d64bfead526e1f7bba1b997e07d3eaa
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
ctable = { <% @controllers.each do |c| %> <%= c.name %>: { name: '<%= c.name %>', root_view: '<%= c.name %>', spots: <%= c.spots.to_json %>, actions: { <% actions_for_controller(c.name).each do |a| %> <%= a.name %>: { on_entry: function(__base__) { //Controller information, includes action, etc. (controller_info) var __info__ = tel_deref(__base__); //The 'context' which is user-defined var context = __info__.context; <%= a.on_entry_src.strip %> }, handlers: { <% a.ons.each do |e| %> <%= e[:name] %>: function(__base__, params) { var __info__ = tel_deref(__base__); var context = __info__.context; <%= e[:src] %> }, <% end %> } }, <% end %> }, }, <% end %> }
Version data entries
5 entries across 5 versions & 1 rubygems