Sha256: 674a11c720316d00b6b3bdd2da8bbb402be59f51da69b7e31fef974a5d120692
Contents?: true
Size: 1.04 KB
Versions: 16
Compression:
Stored size: 1.04 KB
Contents
ctable = { <% @controllers.each do |c| %> <%= c.name %>: { name: '<%= c.name %>', root_view: '<%= c.root_view %>', 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
16 entries across 16 versions & 1 rubygems