backbonetutorials icon indicating copy to clipboard operation
backbonetutorials copied to clipboard

Fix template reference in modular-backbone example.

Open grze-s opened this issue 11 years ago • 2 comments

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

grze-s avatar Oct 13 '14 13:10 grze-s

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

thomasdavis avatar Oct 14 '14 02:10 thomasdavis

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?

grze-s avatar Oct 14 '14 06:10 grze-s