templates/module.js in modjs-architecture-0.4.0 vs templates/module.js in modjs-architecture-0.6.0

- old
+ new

@@ -1,7 +1,7 @@ (function(app) { - var m = app.add_module("<%= arguments[1].gsub(/^_/, '') %>"); + var m = app.addModule("<%= arguments[1].gsub(/^_/, '') %>"); <% if options[:e] %> //= require "../elements/<%= arguments[1] %>.elements" <% end %> <% if options[:m] %> @@ -11,8 +11,8 @@ m.init = function() { }; - m.init_when_ready(); + m.initWhenReady(); })(<%= blueprint[:name] %>); \ No newline at end of file