spec/fixtures/foo_all.js in modjs-architecture-0.4.0 vs spec/fixtures/foo_all.js in modjs-architecture-0.6.0
- old
+ new
@@ -1,14 +1,14 @@
(function(app) {
- var m = app.add_module("foo_all");
+ var m = app.addModule("foo_all");
//= require "../elements/foo_all.elements"
//= require "../models/foo_all.model"
m.init = function() {
- return this;
+
};
- m.init_when_ready();
+ m.initWhenReady();
})(myapp);
\ No newline at end of file