Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify Backbone collection code.

  • Loading branch information...
commit 9d4b0b064efbcf187552b381c61c9185773ce80c 1 parent 3746529
@maiwald maiwald authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.