Backbone 1.1.2 is available, please update
alexey-shaposhnikov opened this issue · 4 comments
alexey-shaposhnikov commented
jrburke commented
Backbone now supports AMD registration itself, so you could just get the release directly from jashkenas/backbone. Does that work, or are you tied to this repo in some way?
Deleted user commented
@alexeyCRLNX Backbone.js 1.1.2 worked fine for me. I was a bit surprised that I could also remove the Underscore.js shim that I had (release notes for Underscore.js indicate it does not support AMD). I might just be getting lucky in the load order? My require.config now looks like:
require.config({
paths: {
jquery: '/js/lib/jquery-1.11.0.min',
underscore: '/js/lib/underscore-min',
backbone: '/js/lib/backbone-min'
}
});
blowery commented
latest underscore supports AMD too. It's at the end of the source file.