You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
398 B

  1. require.config({
  2. baseUrl: '',
  3. waitSeconds: 120,
  4. paths: {
  5. 'jquery': 'plugins/jquery.min',
  6. 'text': 'plugins/text',
  7. 'html': 'plugins/html',
  8. 'css': 'plugins/css',
  9. 'socket': 'plugins/socket'
  10. },
  11. shim: {
  12. 'jquery': {
  13. exports: '$'
  14. },
  15. 'socket': {
  16. exports: 'io'
  17. }
  18. }
  19. });
  20. require([
  21. 'js/helpers',
  22. 'jquery',
  23. 'js/main'
  24. ], function (
  25. helpers,
  26. jQuery,
  27. main
  28. ) {
  29. main.init();
  30. });