Commit 49d9a24f authored by Addy Osmani's avatar Addy Osmani

comment formatting per style guide

parent 126cdd04
...@@ -39,9 +39,9 @@ var app = app || {}; ...@@ -39,9 +39,9 @@ var app = app || {};
this.listenTo(app.todos, 'filter', this.filterAll); this.listenTo(app.todos, 'filter', this.filterAll);
this.listenTo(app.todos, 'all', this.render); this.listenTo(app.todos, 'all', this.render);
//suppresses 'add' events with {reset: true} and prevents the app view // Suppresses 'add' events with {reset: true} and prevents the app view
//from being re-rendered for every model. // from being re-rendered for every model. Only renders when the 'reset'
//Only renders when the 'reset' event is triggered at the end of the fetch. // event is triggered at the end of the fetch.
app.todos.fetch({reset: true}); app.todos.fetch({reset: true});
}, },
......
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