spec/fixtures/foo-elements.js in modjs-architecture-0.3.5 vs spec/fixtures/foo-elements.js in modjs-architecture-0.4.0
- old
+ new
@@ -1,11 +1,12 @@
(function(app) {
var m = app.add_module("foo-elements");
//= require "../elements/foo-elements.elements"
- m.actions = function() {
+ m.init = function() {
- }
+ };
- m.run();
+ m.init_when_ready();
+
})(myapp);
\ No newline at end of file