Commit e99e248a authored by TasteBot's avatar TasteBot

update the build files for gh-pages [ci skip]

parent 1256e490
......@@ -2,11 +2,11 @@
"name": "todomvc-angular",
"version": "0.0.0",
"dependencies": {
"angular": "1.2.22",
"angular": "1.3.0",
"todomvc-common": "~0.1.4"
},
"devDependencies": {
"angular-mocks": "1.2.22",
"angular-route": "1.2.22"
"angular-mocks": "1.3.0",
"angular-route": "1.3.0"
}
}
......@@ -45,6 +45,8 @@ TodoMVC.module('Todos', function (Todos, App, Backbone) {
localStorage: new Backbone.LocalStorage('todos-backbone-marionette'),
comparator: 'created',
getCompleted: function () {
return this.filter(this._isCompleted);
},
......@@ -53,8 +55,6 @@ TodoMVC.module('Todos', function (Todos, App, Backbone) {
return this.reject(this._isCompleted);
},
comparator: 'created',
_isCompleted: function (todo) {
return todo.isCompleted();
}
......
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