News for hackers. Stuff that matters.
Re:Hello Backbone.js - A step-by-step tutorial by theitgirl on Tuesday June 07, 2011 @10:20AM (#2629200)
Awesome tutorial. I have been experimenting with Backbone for a few weeks now. I did not understand the point of _.bindAll(this, ..) in initialize till now :)

It would help if the sections of code that you add in each step were highlighted somehow. I definitely like the step-by-step approach.

Re:Hello Backbone.js - A step-by-step tutorial by Precambria on Tuesday June 07, 2011 @10:44AM (#2629306)
I built http://www.facebook.com/nikerunning?sk=app_151033471623290 with Backbone.js. Still trying to get my head around underscore and controllers.
Re:Hello Backbone.js - A step-by-step tutorial by arturadib on Tuesday June 07, 2011 @10:23AM (#2629214)
Cool thanks. I'm not sure docco, the document generator I'm using, allows that type of highlighting. (anyone?)

But to some extent the comments on the left already point out new sections of code - only new material gets those comments.

Re:Hello Backbone.js - A step-by-step tutorial by lapusta on Tuesday June 07, 2011 @11:06AM (#2629399)
Do we really need to get all methods with 'this' bindAll'ed? I'm using it only for methods who get callbacked.