thomasdavis / backbonetutorials

As single page apps and large scale javascript applications become more prominent on the web, useful resources for those developers who are jumping the ship are crucial.
http://backbonetutorials.com
2.3k stars 1.7k forks source link

Add commas to increase readability #131

Closed rmi22186 closed 9 years ago

rmi22186 commented 9 years ago

Clarified line 197 by adding a few commas to provide natural pauses to increase readability. I am new to Backbone and think this is a great resource. I changed:

So we can bind the change listener to individual attributes or if we like simply 'this.on("change", function(model){});' to listen for changes to all attributes of the model.

to

So we can bind the change listener to individual attributes, or, if we like, simply 'this.on("change", function(model){});' to listen for changes to all attributes of the model.

ClimbsRocks commented 9 years ago

Awesome fix, thanks Rob! For an extra challenge, is there anything you can add to Collections?