so I\'m a noobie to requirejs and backbone, but I\'m trying to load in all the dependencies for blueimp file uploader on my local machine and not load any external scripts.
shim: {
backbone: {
deps: ["lodash", "jquery"],
exports: "Backbone"
},
bootstrap: { deps: ["jquery"] },
widget: { deps: ["jquery"] },
// backbone plugins
"plugins/backbone.layoutmanager": ["backbone"],
"lib/jquery.fileupload": ["jquery", "widget"],
"lib/jquery.fileupload-fp": ["jquery", "lib/load-image", "lib/canvas-to-blob",
"lib/jquery.fileupload"],
"lib/jquery.fileupload-ui": ["jquery", "lib/tmpl", "lib/load-image",
"lib/jquery.fileupload-fp"]
}
And you have to replace paths by path variables from config in define[] part of all js files I have done the same and it is working for me.