config1.0.js 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. require.config({
  2. baseUrl: "resource/js/app",
  3. paths: {
  4. datetimepicker: "../../components/datetimepicker/jquery.datetimepicker",
  5. daterangepicker: "../../components/daterangepicker/daterangepicker",
  6. colorpicker: "../../components/colorpicker/spectrum",
  7. map: "https://api.map.baidu.com/getscript?v=2.0&ak=F51571495f717ff1194de02366bb8da9&services=&t=20140530104353&s=1",
  8. webuploader: "../../components/webuploader/webuploader.min",
  9. fileUploader: "../../components/fileuploader/fileuploader.min",
  10. clockpicker: "../../components/clockpicker/clockpicker.min",
  11. district: "../lib/district",
  12. moment: "../lib/moment",
  13. emoji: "../../components/emoji/emoji",
  14. fontawesome: "../../components/fontawesome/fontawesome",
  15. material: "../../components/material/material",
  16. trade: "../../components/trade/trade",
  17. hammer: "../lib/hammer.min",
  18. "bootstrap.switch": "../../components/switch/bootstrap-switch.min",
  19. validator: "../lib/bootstrapValidator.min",
  20. bootstrap: "../lib/bootstrap.min",
  21. "jquery.ui": "../lib/jquery-ui-1.10.3.min",
  22. "jquery.caret": "../lib/jquery.caret",
  23. "jquery.jplayer": "../../components/jplayer/jquery.jplayer.min",
  24. "jquery.zclip": "../../components/zclip/jquery.zclip.min",
  25. "jquery.wookmark": "../lib/jquery.wookmark.min",
  26. "jquery.qrcode": "../lib/jquery.qrcode.min",
  27. "jquery.jplayer": "../../components/jplayer/jquery.jplayer.min",
  28. underscore: "../lib/underscore-min",
  29. biz: "../lib/biz",
  30. util: "../app/util",
  31. ueditor: "../../components/ueditor/ueditor.all.min",
  32. angular: "../lib/angular.min",
  33. "angular.sanitize": "../lib/angular-sanitize.min",
  34. "angular.hotkeys": "../lib/angular.hotkeys",
  35. loadcss: "../lib/loadcss.min",
  36. css: "../lib/css.min",
  37. clipboard: "../lib/clipboard.min",
  38. "we7.check": "../lib/we7.check"
  39. },
  40. shim: {
  41. ueditor: {
  42. deps: ["./resource/components/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js", "./resource/components/ueditor/ueditor.config.js"],
  43. exports: "UE",
  44. init: function (a) {
  45. window.ZeroClipboard = a
  46. }
  47. },
  48. util: {exports: "util"},
  49. daterangepicker: {deps: ["moment", "loadcss!../../components/daterangepicker/daterangepicker.css"]},
  50. datetimepicker: {deps: ["loadcss!../../components/datetimepicker/jquery.datetimepicker.css"]},
  51. colorpicker: {deps: ["loadcss!../../components/colorpicker/spectrum.css"]},
  52. map: {exports: "BMap"},
  53. bootstrap: {exports: "$"},
  54. "jquery.wookmark": {exports: "$"},
  55. "jquery.ui": {exports: "$"},
  56. "jquery.caret": {exports: "$"},
  57. "bootstrap.switch": {deps: ["bootstrap", "loadcss!../../components/switch/bootstrap-switch.min.css"]},
  58. fileUploader: {deps: ["webuploader", "jquery.jplayer", "loadcss!../../components/webuploader/webuploader.css", "loadcss!../../components/webuploader/style.css"]},
  59. clockpicker: {exports: "$", deps: ["loadcss!../../components/clockpicker/clockpicker.min.css"]},
  60. district: {exports: "$"},
  61. "jquery.toast": {deps: ["loadcss!../../components/toast/toastr.min.css"]},
  62. emoji: {deps: ["loadcss!../../components/emoji/emotions.css"]},
  63. fontawesome: {deps: ["loadcss!../../components/fontawesome/style.css"]},
  64. angular: {exports: "angular", deps: ["jquery"]},
  65. "angular.sanitize": {exports: "angular", deps: ["angular"]},
  66. "angular.hotkeys": {exports: "angular", deps: ["angular"]}
  67. }
  68. }), define("jquery", [], function () {
  69. return jQuery
  70. });