Commit ac6d76c8 authored by gstof's avatar gstof

Batman: fix mixed indentation that cause coffee to generate incorrect js

parent 4dbafb90
// Generated by CoffeeScript 1.3.3
(function() {
var Alfred,
var Alfred,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
Alfred = (function(_super) {
Alfred = (function(_super) {
__extends(Alfred, _super);
......@@ -20,9 +18,9 @@
return Alfred;
})(Batman.App);
})(Batman.App);
Alfred.TodosController = (function(_super) {
Alfred.TodosController = (function(_super) {
__extends(TodosController, _super);
......@@ -41,9 +39,9 @@
return Alfred.Todo.get(this.get('currentTodoSet'));
});
TodosController.prototype.all = function() {};
TodosController.set('currentTodoSet', 'all');
TodosController.prototype.all = function() {
return this.set('currentTodoSet', 'all');
};
TodosController.prototype.completed = function() {
this.set('currentTodoSet', 'completed');
......@@ -148,9 +146,9 @@
return TodosController;
})(Batman.Controller);
})(Batman.Controller);
Alfred.Todo = (function(_super) {
Alfred.Todo = (function(_super) {
__extends(Todo, _super);
......@@ -190,10 +188,8 @@
return Todo;
})(Batman.Model);
window.Alfred = Alfred;
})(Batman.Model);
Alfred.run();
window.Alfred = Alfred;
}).call(this);
Alfred.run();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment