app-config.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Copyright © Magento, Inc. All rights reserved.
  3. * See COPYING.txt for license details.
  4. */
  5. /**
  6. * @deprecated since version 2.2.0
  7. */
  8. require.config({
  9. 'waitSeconds': 0,
  10. 'shim': {
  11. 'jquery/jstree/jquery.hotkeys': ['jquery'],
  12. 'jquery/hover-intent': ['jquery'],
  13. 'mage/adminhtml/backup': ['prototype'],
  14. 'mage/captcha': ['prototype'],
  15. 'mage/common': ['jquery'],
  16. 'mage/webapi': ['jquery'],
  17. 'ko': {
  18. exports: 'ko'
  19. },
  20. 'moment': {
  21. exports: 'moment'
  22. }
  23. },
  24. 'paths': {
  25. 'jquery/ui': 'jquery/jquery-ui-1.9.2',
  26. 'jquery/validate': 'jquery/jquery.validate',
  27. 'jquery/hover-intent': 'jquery/jquery.hoverIntent',
  28. 'jquery/file-uploader': 'jquery/fileUploader/jquery.fileupload-fp',
  29. 'prototype': 'prototype/prototype-amd',
  30. 'text': 'requirejs/text',
  31. 'domReady': 'requirejs/domReady',
  32. 'ko': 'ko/ko'
  33. }
  34. });
  35. require(['jquery'], function (jQuery) {
  36. 'use strict';
  37. jQuery.noConflict();
  38. });