myconfig-app.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. var version = +new Date();
  2. require.config({
  3. urlArgs: 'v=' + version,
  4. baseUrl: '/static/js/app',
  5. paths: {
  6. 'jquery': '../dist/jquery/jquery-1.11.1.min',
  7. 'jquery.gcjs': '../dist/jquery/jquery.gcjs',
  8. 'tpl':'../dist/tmodjs',
  9. 'foxui':'../dist/foxui/js/foxui.min',
  10. 'foxui.picker':'../dist/foxui/js/foxui.picker.min',
  11. 'foxui.citydata':'../dist/foxui/js/foxui.citydata.min',
  12. 'foxui.citydatanew':'../dist/foxui/js/foxui.citydatanew.min',
  13. 'foxui.street':'../dist/foxui/js/foxui.street.min',
  14. 'jquery.qrcode':'../dist/jquery/jquery.qrcode.min',
  15. 'ydb':'../dist/Ydb/YdbOnline',
  16. 'swiper':'../dist/swiper/swiper.min',
  17. 'jquery.fly': '../dist/jquery/jquery.fly',
  18. },
  19. shim: {
  20. 'foxui':{
  21. deps:['jquery']
  22. },
  23. 'foxui.picker': {
  24. exports: "foxui",
  25. deps: ['foxui','foxui.citydata']
  26. },
  27. 'jquery.gcjs': {
  28. deps:['jquery']
  29. },
  30. 'jquery.fly': {
  31. deps:['jquery']
  32. }
  33. },
  34. waitSeconds: 0
  35. });