summaryrefslogtreecommitdiffstats
path: root/module/web/app/scripts/config.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-09 18:10:22 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-09 18:10:23 +0200
commit16af85004c84d0d6c626b4f8424ce9647669a0c1 (patch)
tree025d479862d376dbc17e934f4ed20031c8cd97d1 /module/web/app/scripts/config.js
parentadapted to jshint config (diff)
downloadpyload-16af85004c84d0d6c626b4f8424ce9647669a0c1.tar.xz
moved everything from module to pyload
Diffstat (limited to 'module/web/app/scripts/config.js')
-rw-r--r--module/web/app/scripts/config.js73
1 files changed, 0 insertions, 73 deletions
diff --git a/module/web/app/scripts/config.js b/module/web/app/scripts/config.js
deleted file mode 100644
index 398d97e11..000000000
--- a/module/web/app/scripts/config.js
+++ /dev/null
@@ -1,73 +0,0 @@
-// Sets the require.js configuration for your application.
-'use strict';
-require.config({
-
- deps: ['default'],
-
- paths: {
-
- jquery: '../components/jquery/jquery',
- flot: '../components/flot/jquery.flot',
- transit: '../components/jquery.transit/jquery.transit',
- animate: '../components/jquery.animate-enhanced/scripts/src/jquery.animate-enhanced',
- cookie: '../components/jquery.cookie/jquery.cookie',
- omniwindow: 'vendor/jquery.omniwindow',
- select2: '../components/select2/select2',
- bootstrap: 'vendor/bootstrap-2.3.2',
- underscore: '../components/underscore/underscore',
- backbone: '../components/backbone/backbone',
- marionette: '../components/backbone.marionette/lib/backbone.marionette',
-// handlebars: '../components/handlebars.js/dist/handlebars',
- handlebars: 'vendor/Handlebars-1.0rc1',
- jed: '../components/jed/jed',
-
- // TODO: Two hbs dependencies could be replaced
- i18nprecompile: '../components/require-handlebars-plugin/hbs/i18nprecompile',
- json2: '../components/require-handlebars-plugin/hbs/json2',
-
- // Plugins
- text: '../components/requirejs-text/text',
- hbs: '../components/require-handlebars-plugin/hbs',
-
- // Shortcut
- tpl: '../templates/default'
- },
-
- hbs: {
- disableI18n: true,
- helperPathCallback: // Callback to determine the path to look for helpers
- function(name) {
- // Some helpers are accumulated into one file
- if (name.indexOf('file') === 0)
- name = 'fileHelper';
-
- return 'helpers/' + name;
- },
- templateExtension: 'html'
- },
-
- // Sets the configuration for your third party scripts that are not AMD compatible
- shim: {
- underscore: {
- exports: '_'
- },
-
- backbone: {
- deps: ['underscore', 'jquery'],
- exports: 'Backbone'
- },
-
- marionette: ['backbone'],
-// handlebars: {
-// exports: 'Handlebars'
-// },
-
- flot: ['jquery'],
- transit: ['jquery'],
- cookie: ['jquery'],
- omniwindow: ['jquery'],
- select2: ['jquery'],
- bootstrap: ['jquery'],
- animate: ['jquery']
- }
-}); \ No newline at end of file