diff --git a/examples/todos/todos.js b/examples/todos/todos.js index fc07c285..66d6282e 100644 --- a/examples/todos/todos.js +++ b/examples/todos/todos.js @@ -48,7 +48,7 @@ $(function(){ // Filter down the list to only todo items that are still not finished. remaining: function() { - return this.without.apply(this, this.done()); + return this.where({done: false}); }, // We keep the Todos in sequential order, despite being saved by unordered