JavaScript and Web Development

spwa-backbone Update for Backbone.js and Underscore.js

1 May 2011 - JavaScript - James Brown - No Comments

Tonight, I updated the spwa-backbone library to work with the latest Underscore.js. If you’d like to learn how to use the library, you can view the Backbone.js spwa-backbone post. In the comments, “Jeremy” discovered a bug that caused the spwa-backbone to not work with the latest Underscore.js library. The latest Underscore.js library (version 1.1.6) caused an error because: “_.bind now errors when trying to bind an undefined value.”

You can view the updated source on Github:
http://github.com/ibjhb/spwa-backbone

I’ve also added the annotated source online:
http://ibjhb.github.com/spwa-backbone/

Lastly, you can view a sample application, using the spwa-backbone for Backbone.js library online:
http://ibjhb.github.com/spwa-backbone/

Also, rather than link to the public library URLs, I now include the libraries (jQuery, Backbone.js & Underscore.js) in the repo so the code will continue to work if those libraries are updated.

Leave a Reply