Thursday, January 31, 2013

javascript - Loading jQuery, Underscore and Backbone using RequireJS 2.0.1 and shim - Stack Overflow

javascript - Loading jQuery, Underscore and Backbone using RequireJS 2.0.1 and shim - Stack Overflow: "You only need to use "shim" config if the library does not already call define() to declare a module. jquery does this already, so you can remove that from the shim config. The above code will work as is, but the exports shim config for jquery will be ignored since jquery will call define() before the shim work is done."

'via Blog this'