spec/fixtures/hello.js in ninjs-0.14.1 vs spec/fixtures/hello.js in ninjs-0.16.0
- old
+ new
@@ -1,17 +1,17 @@
(function(app) {
- var self = app.add_module('hello');
+ var mod = app.add_module('hello');
-app.hello.elements({
+mod.elements({
});
-app.hello.set_data({
+mod.set_data({
});
- app.hello.actions = function() {
+ mod.actions = function() {
};
- app.hello.run();
+ mod.run();
})(myapp);