I\'m using require.js to help organize my Backbone.js based application.
I\'m trying to figure out the right way to use a 3rd party javascript library that is not AM
you can wrap your require with another require the plugin will be loaded first, and afterwards you can do your app.
require(["myCustomTastyPiePlugin.js"], function () {
//This callback is called after the one script finish loading.
require(["one.js", "two.js", "three.js"], function () {
//This callback is called after the three scripts finish loading.
// all your code goes here...
});
});