Permalink
Browse files

Merge pull request #370 from passy/backbone-remaining-fix

Backbone remaining items counter does not update. Reverts 9d4b0b0
  • Loading branch information...
2 parents f3b24e6 + 89e5d5c commit 4a811d585e7cb92f03bfacd5e21f3b3609098bdf @sindresorhus sindresorhus committed Jan 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 architecture-examples/backbone/js/collections/todos.js
@@ -25,7 +25,7 @@ var app = app || {};
// Filter down the list to only todo items that are still not finished.
remaining: function() {
- return this.without(this.completed());
+ return this.without.apply( this, this.completed() );
},
// We keep the Todos in sequential order, despite being saved by unordered

0 comments on commit 4a811d5

Please sign in to comment.