Skip to content

Commit f6c6770

Browse files
committed
MC-19246: Fix missing shim configurations
1 parent adee85d commit f6c6770

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

app/code/Magento/Theme/view/base/requirejs-config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ var config = {
3232
},
3333
'jquery/jquery-storageapi': {
3434
'deps': ['jquery/jquery.cookie']
35-
}
35+
},
36+
'magnifier/magnifier': ['jquery']
3637
},
3738
'paths': {
3839
'jquery/validate': 'jquery/jquery.validate',

app/code/Magento/Theme/view/frontend/requirejs-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var config = {
4444
'Magento_Theme/js/view/breadcrumbs': {
4545
'Magento_Theme/js/view/add-home-breadcrumb': true
4646
},
47-
'jquery/jquery-ui': {
47+
'jquery/ui-modules/dialog': {
4848
'jquery/patches/jquery-ui': true
4949
}
5050
}

lib/web/jquery/patches/jquery-ui.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
*/
55

66
define([
7-
'jquery'
7+
'jquery',
8+
'jquery-ui-modules/widget',
9+
'jquery-ui-modules/dialog'
810
], function ($) {
911
'use strict';
1012

0 commit comments

Comments
 (0)