Commit 31c25032 authored by smelnikov's avatar smelnikov

use fetch({reset:true}) for better performance.

parent 94dc4b24
......@@ -39,7 +39,7 @@ var app = app || {};
this.listenTo(app.todos, 'filter', this.filterAll);
this.listenTo(app.todos, 'all', this.render);
app.todos.fetch();
app.todos.fetch({reset: true});
},
// Re-rendering the App just means refreshing the statistics -- the rest
......
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