人人商城

myconfig-app.js 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. var version = +new Date();
  2. require.config({
  3. urlArgs: 'v=' + version,
  4. baseUrl: '../addons/ewei_shopv2/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. 'clipboard':'../dist/clipboard.min'
  19. },
  20. shim: {
  21. 'foxui':{
  22. deps:['jquery']
  23. },
  24. 'foxui.picker': {
  25. exports: "foxui",
  26. deps: ['foxui','foxui.citydata']
  27. },
  28. 'jquery.gcjs': {
  29. deps:['jquery']
  30. },
  31. 'jquery.fly': {
  32. deps:['jquery']
  33. }
  34. },
  35. waitSeconds: 0
  36. });