| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /**
- * Bootstrap require with the needed config, then load the app.js module.
- */
- require.config({
- baseUrl: 'app',
- // urlArgs: 'r=@REV@',
- paths: {
- config: '../config',
- settings: 'components/settings',
- kbn: 'components/kbn',
- css: '../vendor/require/css',
- text: '../vendor/require/text',
- moment: '../vendor/moment',
- filesaver: '../vendor/filesaver',
- angular: '../vendor/angular/angular',
- 'angular-strap': '../vendor/angular/angular-strap',
- 'angular-sanitize': '../vendor/angular/angular-sanitize',
- timepicker: '../vendor/angular/timepicker',
- datepicker: '../vendor/angular/datepicker',
- underscore: 'components/underscore.extended',
- 'underscore-src': '../vendor/underscore',
- bootstrap: '../vendor/bootstrap/bootstrap',
- jquery: '../vendor/jquery/jquery-1.8.0',
- 'extend-jquery': 'components/extend-jquery',
- 'jquery.flot': '../vendor/jquery/jquery.flot',
- 'jquery.flot.pie': '../vendor/jquery/jquery.flot.pie',
- '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',
- modernizr: '../vendor/modernizr-2.6.1',
- elasticjs: '../vendor/elasticjs/elastic-angular-client',
- },
- shim: {
- underscore: {
- exports: '_'
- },
- angular: {
- deps: ['jquery'],
- 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.selection':['jquery', 'jquery.flot'],
- 'jquery.flot.stack': ['jquery', 'jquery.flot'],
- 'jquery.flot.stackpercent':['jquery', 'jquery.flot'],
- 'jquery.flot.time': ['jquery', 'jquery.flot'],
- 'angular-sanitize': ['angular'],
- 'angular-cookies': ['angular'],
- 'angular-loader': ['angular'],
- 'angular-mocks': ['angular'],
- 'angular-resource': ['angular'],
- 'angular-route': ['angular'],
- 'angular-touch': ['angular'],
- 'angular-strap': ['angular', 'bootstrap','timepicker', 'datepicker'],
- timepicker: ['jquery', 'bootstrap'],
- datepicker: ['jquery', 'bootstrap'],
- elasticjs: ['angular', '../vendor/elasticjs/elastic']
- }
- });
|