Skip to content

Commit bb53575

Browse files
author
Mateusz Krzeszowiak
committed
Fix static tests
1 parent 2c1daf3 commit bb53575

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,21 @@ var config = {
3535
/**
3636
* Adds polyfills only for browser contexts which prevents bundlers from including them.
3737
*/
38-
if (typeof window !== "undefined" && window.document) {
38+
if (typeof window !== 'undefined' && window.document) {
3939
/**
4040
* Polyfill Map and WeakMap for older browsers that do not support them.
4141
*/
42-
if (typeof Map === 'undefined' || typeof WeakMap === 'undefined'){
42+
if (typeof Map === 'undefined' || typeof WeakMap === 'undefined') {
4343
config.deps.push('es6-collections');
4444
}
45+
4546
/**
4647
* Polyfill MutationObserver only for the browsers that do not support it.
4748
*/
4849
if (typeof MutationObserver === 'undefined') {
4950
config.deps.push('MutationObserver');
5051
}
52+
5153
/**
5254
* Polyfill FormData object for old browsers that don't have full support for it.
5355
*/

0 commit comments

Comments
 (0)