|
@@ -0,0 +1,99 @@
|
|
|
|
|
+require.config({
|
|
|
|
|
+ urlArgs: 'bust=' + (new Date().getTime()),
|
|
|
|
|
+ baseUrl: 'app',
|
|
|
|
|
+
|
|
|
|
|
+ paths: {
|
|
|
|
|
+ config: ['../config', '../config.sample'],
|
|
|
|
|
+ settings: 'components/settings',
|
|
|
|
|
+ kbn: 'components/kbn',
|
|
|
|
|
+ store: 'components/store',
|
|
|
|
|
+
|
|
|
|
|
+ css: '../vendor/require/css',
|
|
|
|
|
+ text: '../vendor/require/text',
|
|
|
|
|
+ moment: '../vendor/moment',
|
|
|
|
|
+ filesaver: '../vendor/filesaver',
|
|
|
|
|
+ angular: '../vendor/angular/angular',
|
|
|
|
|
+ 'angular-route': '../vendor/angular/angular-route',
|
|
|
|
|
+ 'angular-sanitize': '../vendor/angular/angular-sanitize',
|
|
|
|
|
+ 'angular-dragdrop': '../vendor/angular/angular-dragdrop',
|
|
|
|
|
+ 'angular-strap': '../vendor/angular/angular-strap',
|
|
|
|
|
+ timepicker: '../vendor/angular/timepicker',
|
|
|
|
|
+ datepicker: '../vendor/angular/datepicker',
|
|
|
|
|
+ bindonce: '../vendor/angular/bindonce',
|
|
|
|
|
+ crypto: '../vendor/crypto.min',
|
|
|
|
|
+ spectrum: '../vendor/spectrum',
|
|
|
|
|
+
|
|
|
|
|
+ lodash: 'components/lodash.extended',
|
|
|
|
|
+ 'lodash-src': '../vendor/lodash',
|
|
|
|
|
+ bootstrap: '../vendor/bootstrap/bootstrap',
|
|
|
|
|
+
|
|
|
|
|
+ jquery: '../vendor/jquery/jquery-2.1.1.min',
|
|
|
|
|
+
|
|
|
|
|
+ 'extend-jquery': 'components/extend-jquery',
|
|
|
|
|
+
|
|
|
|
|
+ 'jquery.flot': '../vendor/jquery/jquery.flot',
|
|
|
|
|
+ 'jquery.flot.pie': '../vendor/jquery/jquery.flot.pie',
|
|
|
|
|
+ 'jquery.flot.events': '../vendor/jquery/jquery.flot.events',
|
|
|
|
|
+ 'jquery.flot.selection': '../vendor/jquery/jquery.flot.selection',
|
|
|
|
|
+ 'jquery.flot.stack': '../vendor/jquery/jquery.flot.stack',
|
|
|
|
|
+ 'jquery.flot.stackpercent':'../vendor/jquery/jquery.flot.stackpercent',
|
|
|
|
|
+ 'jquery.flot.time': '../vendor/jquery/jquery.flot.time',
|
|
|
|
|
+ 'jquery.flot.crosshair': '../vendor/jquery/jquery.flot.crosshair',
|
|
|
|
|
+ 'jquery.flot.fillbelow': '../vendor/jquery/jquery.flot.fillbelow',
|
|
|
|
|
+
|
|
|
|
|
+ modernizr: '../vendor/modernizr-2.6.1',
|
|
|
|
|
+
|
|
|
|
|
+ 'bootstrap-tagsinput': '../vendor/tagsinput/bootstrap-tagsinput',
|
|
|
|
|
+ },
|
|
|
|
|
+ shim: {
|
|
|
|
|
+
|
|
|
|
|
+ spectrum: {
|
|
|
|
|
+ deps: ['jquery']
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ crypto: {
|
|
|
|
|
+ exports: 'Crypto'
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ angular: {
|
|
|
|
|
+ deps: ['jquery','config'],
|
|
|
|
|
+ exports: 'angular'
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ bootstrap: {
|
|
|
|
|
+ deps: ['jquery']
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ modernizr: {
|
|
|
|
|
+ exports: 'Modernizr'
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ jquery: {
|
|
|
|
|
+ exports: 'jQuery'
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ // simple dependency declaration
|
|
|
|
|
+ //
|
|
|
|
|
+ 'jquery.flot': ['jquery'],
|
|
|
|
|
+ 'jquery.flot.pie': ['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.events': ['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.selection':['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.stack': ['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.stackpercent':['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.time': ['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.crosshair':['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'jquery.flot.fillbelow':['jquery', 'jquery.flot'],
|
|
|
|
|
+ 'angular-dragdrop': ['jquery', 'angular'],
|
|
|
|
|
+ 'angular-mocks': ['angular'],
|
|
|
|
|
+ 'angular-sanitize': ['angular'],
|
|
|
|
|
+ 'angular-route': ['angular'],
|
|
|
|
|
+ 'angular-strap': ['angular', 'bootstrap','timepicker', 'datepicker'],
|
|
|
|
|
+ 'bindonce': ['angular'],
|
|
|
|
|
+
|
|
|
|
|
+ timepicker: ['jquery', 'bootstrap'],
|
|
|
|
|
+ datepicker: ['jquery', 'bootstrap'],
|
|
|
|
|
+
|
|
|
|
|
+ 'bootstrap-tagsinput': ['jquery'],
|
|
|
|
|
+ },
|
|
|
|
|
+ waitSeconds: 60,
|
|
|
|
|
+});
|