spec/fixtures/foo_all.js in modjs-architecture-0.3.5 vs spec/fixtures/foo_all.js in modjs-architecture-0.4.0
- old
+ new
@@ -3,11 +3,12 @@
//= require "../elements/foo_all.elements"
//= require "../models/foo_all.model"
- m.actions = function() {
-
- }
+ m.init = function() {
+ return this;
+ };
- m.run();
+ m.init_when_ready();
+
})(myapp);
\ No newline at end of file