Created
May 8, 2012 06:25
-
-
Save pedromtavares/2633020 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set the require.js configuration for your application. | |
require.config({ | |
// Initialize the application with the main application file | |
deps: ["app/main"], | |
paths: { | |
// JavaScript folders | |
libs: "libs", | |
plugins: "plugins", | |
// Libraries | |
jquery: "libs/jquery", | |
jqueryCookie: "libs/jquery.cookie", | |
jqueryValidate: "libs/jquery.validate", | |
jqueryGritter: "libs/jquery.gritter", | |
jqueryIframe: "libs/jquery.iframe-transport", | |
bootstrapDropdown: "plugins/bootstrap-dropdown", | |
underscore: "libs/underscore", | |
backbone: "libs/backbone", | |
backboneValidations: "libs/backbone.validations", | |
// Shim Plugin | |
use: "plugins/use" | |
}, | |
use: { | |
backbone: { | |
deps: ["use!underscore", "jquery"], | |
attach: "Backbone" | |
}, | |
jqueryCookie: { | |
deps: ['jquery'] | |
}, | |
jqueryValidate: { | |
deps: ['jquery'] | |
}, | |
jqueryGritter: { | |
deps: ['jquery'] | |
}, | |
jqueryIframe: { | |
deps: ['jquery'] | |
}, | |
bootstrapDropdown: { | |
deps: ['jquery'] | |
}, | |
underscore: { | |
attach: "_" | |
}, | |
backboneValidations: { | |
deps: ['use!backbone'], | |
attach: "Backbone" | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment