diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-23 13:02:55 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-23 13:02:55 +0100 |
commit | 62b750898259ef92158ce01a29a3469c2dbceeea (patch) | |
tree | c33a0607fd443207b020833a647b8d99cdb58583 /module/web/static/js/config.js | |
parent | removed edit icon, changed color (diff) | |
download | pyload-62b750898259ef92158ce01a29a3469c2dbceeea.tar.xz |
added app object + event aggegator
Diffstat (limited to 'module/web/static/js/config.js')
-rw-r--r-- | module/web/static/js/config.js | 37 |
1 files changed, 37 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..0ab06a3e5 --- /dev/null +++ b/module/web/static/js/config.js @@ -0,0 +1,37 @@ +// Sets the require.js configuration for your application. +require.config({ + + // XXX: To many dots in file breaks dependencies + paths: { + + jquery: "libs/jquery-1.8.3", + jqueryui: "libs/jqueryui", + flot: "libs/jquery.flot-1.1", + transit: "libs/jquery.transit-0.9.9", + omniwindow: "libs/jquery.omniwindow", + bootstrap: "libs/bootstrap-2.2.2", + + underscore: "libs/lodash-1.0.rc3", + backbone: "libs/backbone-0.9.9", + 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"], + "bootstrap": ["jquery"] + } // end Shim Configuration +});
\ No newline at end of file |