require_config.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. require.config({
  2. urlArgs: 'bust=' + (new Date().getTime()),
  3. baseUrl: 'public',
  4. paths: {
  5. 'lodash-src': 'vendor/lodash',
  6. lodash: 'app/core/lodash_extended',
  7. text: 'vendor/requirejs-text/text',
  8. moment: 'vendor/moment',
  9. angular: 'vendor/angular/angular',
  10. 'angular-route': 'vendor/angular-route/angular-route',
  11. 'angular-sanitize': 'vendor/angular-sanitize/angular-sanitize',
  12. 'angular-dragdrop': 'vendor/angular-native-dragdrop/draganddrop',
  13. 'angular-strap': 'vendor/angular-other/angular-strap',
  14. 'angular-ui': 'vendor/angular-ui/ui-bootstrap-tpls',
  15. timepicker: 'vendor/angular-other/timepicker',
  16. datepicker: 'vendor/angular-other/datepicker',
  17. bindonce: 'vendor/angular-bindonce/bindonce',
  18. crypto: 'vendor/crypto.min',
  19. spectrum: 'vendor/spectrum',
  20. bootstrap: 'vendor/bootstrap/bootstrap',
  21. jquery: 'vendor/jquery/dist/jquery',
  22. 'jquery.flot': 'vendor/flot/jquery.flot',
  23. 'jquery.flot.pie': 'vendor/flot/jquery.flot.pie',
  24. 'jquery.flot.events': 'vendor/flot/jquery.flot.events',
  25. 'jquery.flot.selection': 'vendor/flot/jquery.flot.selection',
  26. 'jquery.flot.stack': 'vendor/flot/jquery.flot.stack',
  27. 'jquery.flot.stackpercent':'vendor/flot/jquery.flot.stackpercent',
  28. 'jquery.flot.time': 'vendor/flot/jquery.flot.time',
  29. 'jquery.flot.crosshair': 'vendor/flot/jquery.flot.crosshair',
  30. 'jquery.flot.fillbelow': 'vendor/flot/jquery.flot.fillbelow',
  31. modernizr: 'vendor/modernizr-2.6.1',
  32. 'bootstrap-tagsinput': 'vendor/tagsinput/bootstrap-tagsinput',
  33. },
  34. shim: {
  35. spectrum: {
  36. deps: ['jquery']
  37. },
  38. crypto: {
  39. exports: 'Crypto'
  40. },
  41. angular: {
  42. deps: ['jquery'],
  43. exports: 'angular'
  44. },
  45. bootstrap: {
  46. deps: ['jquery']
  47. },
  48. modernizr: {
  49. exports: 'Modernizr'
  50. },
  51. jquery: {
  52. exports: 'jQuery'
  53. },
  54. // simple dependency declaration
  55. //
  56. 'jquery.flot': ['jquery'],
  57. 'jquery.flot.pie': ['jquery', 'jquery.flot'],
  58. 'jquery.flot.events': ['jquery', 'jquery.flot'],
  59. 'jquery.flot.selection':['jquery', 'jquery.flot'],
  60. 'jquery.flot.stack': ['jquery', 'jquery.flot'],
  61. 'jquery.flot.stackpercent':['jquery', 'jquery.flot'],
  62. 'jquery.flot.time': ['jquery', 'jquery.flot'],
  63. 'jquery.flot.crosshair':['jquery', 'jquery.flot'],
  64. 'jquery.flot.fillbelow':['jquery', 'jquery.flot'],
  65. 'angular-dragdrop': ['jquery', 'angular'],
  66. 'angular-mocks': ['angular'],
  67. 'angular-sanitize': ['angular'],
  68. 'angular-ui': ['angular'],
  69. 'angular-route': ['angular'],
  70. 'angular-strap': ['angular', 'bootstrap','timepicker', 'datepicker'],
  71. 'bindonce': ['angular'],
  72. timepicker: ['jquery', 'bootstrap'],
  73. datepicker: ['jquery', 'bootstrap'],
  74. 'bootstrap-tagsinput': ['jquery'],
  75. },
  76. });