File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/Ui/view/base Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,19 +35,21 @@ var config = {
35
35
/**
36
36
* Adds polyfills only for browser contexts which prevents bundlers from including them.
37
37
*/
38
- if ( typeof window !== " undefined" && window . document ) {
38
+ if ( typeof window !== ' undefined' && window . document ) {
39
39
/**
40
40
* Polyfill Map and WeakMap for older browsers that do not support them.
41
41
*/
42
- if ( typeof Map === 'undefined' || typeof WeakMap === 'undefined' ) {
42
+ if ( typeof Map === 'undefined' || typeof WeakMap === 'undefined' ) {
43
43
config . deps . push ( 'es6-collections' ) ;
44
44
}
45
+
45
46
/**
46
47
* Polyfill MutationObserver only for the browsers that do not support it.
47
48
*/
48
49
if ( typeof MutationObserver === 'undefined' ) {
49
50
config . deps . push ( 'MutationObserver' ) ;
50
51
}
52
+
51
53
/**
52
54
* Polyfill FormData object for old browsers that don't have full support for it.
53
55
*/
You can’t perform that action at this time.
0 commit comments