-
Notifications
You must be signed in to change notification settings - Fork 9.3k
/
requirejs-config.js
91 lines (88 loc) · 4.33 KB
/
requirejs-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
var config = {
waitSeconds: 0,
map: {
'*': {
'ko': 'knockoutjs/knockout',
'knockout': 'knockoutjs/knockout',
'mageUtils': 'mage/utils/main',
'rjsResolver': 'mage/requirejs/resolver',
'jquery-ui-modules/core': 'jquery/ui-modules/core',
'jquery-ui-modules/accordion': 'jquery/ui-modules/widgets/accordion',
'jquery-ui-modules/autocomplete': 'jquery/ui-modules/widgets/autocomplete',
'jquery-ui-modules/button': 'jquery/ui-modules/widgets/button',
'jquery-ui-modules/datepicker': 'jquery/ui-modules/widgets/datepicker',
'jquery-ui-modules/dialog': 'jquery/ui-modules/widgets/dialog',
'jquery-ui-modules/draggable': 'jquery/ui-modules/widgets/draggable',
'jquery-ui-modules/droppable': 'jquery/ui-modules/widgets/droppable',
'jquery-ui-modules/effect-blind': 'jquery/ui-modules/effects/effect-blind',
'jquery-ui-modules/effect-bounce': 'jquery/ui-modules/effects/effect-bounce',
'jquery-ui-modules/effect-clip': 'jquery/ui-modules/effects/effect-clip',
'jquery-ui-modules/effect-drop': 'jquery/ui-modules/effects/effect-drop',
'jquery-ui-modules/effect-explode': 'jquery/ui-modules/effects/effect-explode',
'jquery-ui-modules/effect-fade': 'jquery/ui-modules/effects/effect-fade',
'jquery-ui-modules/effect-fold': 'jquery/ui-modules/effects/effect-fold',
'jquery-ui-modules/effect-highlight': 'jquery/ui-modules/effects/effect-highlight',
'jquery-ui-modules/effect-scale': 'jquery/ui-modules/effects/effect-scale',
'jquery-ui-modules/effect-pulsate': 'jquery/ui-modules/effects/effect-pulsate',
'jquery-ui-modules/effect-shake': 'jquery/ui-modules/effects/effect-shake',
'jquery-ui-modules/effect-slide': 'jquery/ui-modules/effects/effect-slide',
'jquery-ui-modules/effect-transfer': 'jquery/ui-modules/effects/effect-transfer',
'jquery-ui-modules/effect': 'jquery/ui-modules/effect',
'jquery-ui-modules/menu': 'jquery/ui-modules/widgets/menu',
'jquery-ui-modules/mouse': 'jquery/ui-modules/widgets/mouse',
'jquery-ui-modules/position': 'jquery/ui-modules/position',
'jquery-ui-modules/progressbar': 'jquery/ui-modules/widgets/progressbar',
'jquery-ui-modules/resizable': 'jquery/ui-modules/widgets/resizable',
'jquery-ui-modules/selectable': 'jquery/ui-modules/widgets/selectable',
'jquery-ui-modules/selectmenu': 'jquery/ui-modules/widgets/selectmenu',
'jquery-ui-modules/slider': 'jquery/ui-modules/widgets/slider',
'jquery-ui-modules/sortable': 'jquery/ui-modules/widgets/sortable',
'jquery-ui-modules/spinner': 'jquery/ui-modules/widgets/spinner',
'jquery-ui-modules/tabs': 'jquery/ui-modules/widgets/tabs',
'jquery-ui-modules/tooltip': 'jquery/ui-modules/widgets/tooltip',
'jquery-ui-modules/widget': 'jquery/ui-modules/widget',
'jquery-ui-modules/timepicker': 'jquery/timepicker',
'vimeo': 'vimeo/player',
'vimeoWrapper': 'vimeo/vimeo-wrapper'
}
},
shim: {
'mage/adminhtml/backup': ['prototype'],
'mage/captcha': ['prototype'],
'mage/new-gallery': ['jquery'],
'jquery/ui': ['jquery'],
'matchMedia': {
'exports': 'mediaCheck'
},
'magnifier/magnifier': ['jquery'],
'vimeo/player': {
'exports': 'Player'
}
},
paths: {
'jquery/validate': 'jquery/jquery.validate',
'jquery/uppy-core': 'jquery/uppy/dist/uppy.min',
'prototype': 'legacy-build.min',
'jquery/jquery-storageapi': 'js-storage/storage-wrapper',
'text': 'mage/requirejs/text',
'domReady': 'requirejs/domReady',
'spectrum': 'jquery/spectrum/spectrum',
'tinycolor': 'jquery/spectrum/tinycolor',
'jquery-ui-modules': 'jquery/ui-modules'
},
config: {
text: {
'headers': {
'X-Requested-With': 'XMLHttpRequest'
}
}
}
};
require(['jquery'], function ($) {
'use strict';
$.noConflict();
});