Commit c0cf28ea authored by Addy Osmani's avatar Addy Osmani

Merge pull request #277 from ricogallo/gh-pages

Fix for addOne.
parents f1398a18 be8f5110
......@@ -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);
......
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