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

Fix template reference in modular-backbone example. #115

Open grze-s opened 9 years ago

grze-s commented 9 years ago

Underscore templates no longer accept an initial data object. _.template always returns a function now. Example didn't work with updated underscore.js

thomasdavis commented 9 years ago

Awesome work. But did you change the version of underscore that the tutorial is using too?

grze-s commented 9 years ago

I didn't include new underscore. The commit will work aither with old and new lilbrary. I've checked the project localy. Now it is working with all the newrest versions of underscore, backbone jQuery and require libraries. Backbone doesn't need to be downloaded from special fork now. Would you like me to include new versions of libraries in the commit?