diff options
Diffstat (limited to 'module/web/static/js/config.js')
-rw-r--r-- | module/web/static/js/config.js | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/module/web/static/js/config.js b/module/web/static/js/config.js new file mode 100644 index 000000000..d920698c4 --- /dev/null +++ b/module/web/static/js/config.js @@ -0,0 +1,41 @@ +// Sets the require.js configuration for your application. +require.config({ + + // XXX: To many dots in file breaks dependencies + paths: { + + jquery: "libs/jquery-1.9.1", + jqueryui: "libs/jqueryui", + flot: "libs/jquery.flot-1.1", + transit: "libs/jquery.transit-0.9.9", + animate: "libs/jquery.animate-enhanced-0.99", + omniwindow: "libs/jquery.omniwindow", + select2: "libs/select2-3.3.2", + bootstrap: "libs/bootstrap-2.3", + + underscore: "libs/lodash-1.0.1", + backbone: "libs/backbone-0.9.10", + wreqr: "libs/backbone.wreqr-0.1.0", + handlebars: "libs/Handlebars-1.0rc1", + + // Plugins + text: "libs/text-2.0.3", + tpl: "../../templates" + + }, + + // Sets the configuration for your third party scripts that are not AMD compatible + shim: { + + "backbone": { + deps: ["underscore", "jquery"], + exports: "Backbone" //attaches "Backbone" to the window object + }, + "flot": ["jquery"], + "transit": ["jquery"], + "omniwindow": ["jquery"], + "select2": ["jquery"], + "bootstrap": ["jquery"], + "animate": ["jquery"] + } // end Shim Configuration +});
\ No newline at end of file |