Skip to content
Browse files

Merge pull request #346 from maiwald/patch-2

Simplify Backbone collection code.
  • Loading branch information...
2 parents b392d23 + 9d4b0b0 commit 3b39926e6a42dab4170e6755327ebab59723d357 @addyosmani addyosmani committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 architecture-examples/backbone/js/collections/todos.js
View
2 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.apply( this, this.completed() );
+ return this.without(this.completed());
},
// We keep the Todos in sequential order, despite being saved by unordered

0 comments on commit 3b39926

Please sign in to comment.
Something went wrong with that request. Please try again.