Commit 8552baf4 authored by Addy Osmani's avatar Addy Osmani

Merge branch 'gh-pages' of https://github.com/addyosmani/todomvc into gh-pages

* 'gh-pages' of https://github.com/addyosmani/todomvc:
  Simplify Backbone collection code.
parents e5d26719 3b39926e
...@@ -25,7 +25,7 @@ var app = app || {}; ...@@ -25,7 +25,7 @@ var app = app || {};
// Filter down the list to only todo items that are still not finished. // Filter down the list to only todo items that are still not finished.
remaining: function() { 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 // We keep the Todos in sequential order, despite being saved by unordered
......
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