lib/flok/user_compiler_templates/ctable.js.erb in flok-0.0.56 vs lib/flok/user_compiler_templates/ctable.js.erb in flok-0.0.57
- old
+ new
@@ -1,8 +1,9 @@
ctable = {
<% @controllers.each do |c| %>
<%= c.name %>: {
__init__: function(__base__) {
+ //Call service on_connect
<% c._services.each do |s| %>
<%= s %>_on_connect(__base__);
<% end %>
//Register this controller for every single interval timer *now*