Permalink
Browse files

Merge pull request #277 from ricogallo/gh-pages

Fix for addOne.
  • Loading branch information...
2 parents f1398a1 + be8f511 commit c0cf28eac50e8f1ebab99b41f0f50e1d2e0cee7f @addyosmani addyosmani committed Sep 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 architecture-examples/backbone/js/views/app.js
@@ -32,7 +32,7 @@ $(function( $ ) {
this.$footer = this.$('#footer');
this.$main = this.$('#main');
- window.app.Todos.on( 'add', this.addAll, this );
+ window.app.Todos.on( 'add', this.addOne, this );
window.app.Todos.on( 'reset', this.addAll, this );
window.app.Todos.on('change:completed', this.filterOne, this);
window.app.Todos.on("filter", this.filterAll, this);

0 comments on commit c0cf28e

Please sign in to comment.