Skip to content

Commit ca98c3a

Browse files
committed
33207: Removed lib/web/MutationObserver.js and replaced usages with native JS MutationObserver
1 parent 0a05fa3 commit ca98c3a

File tree

5 files changed

+0
-584
lines changed

5 files changed

+0
-584
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ var config = {
2222
'mage/new-gallery': ['jquery'],
2323
'mage/webapi': ['jquery'],
2424
'jquery/ui': ['jquery'],
25-
'MutationObserver': ['es6-collections'],
2625
'matchMedia': {
2726
'exports': 'mediaCheck'
2827
},

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ if (typeof window !== 'undefined' && window.document) {
4343
config.deps.push('es6-collections');
4444
}
4545

46-
/**
47-
* Polyfill MutationObserver only for the browsers that do not support it.
48-
*/
49-
if (typeof MutationObserver === 'undefined') {
50-
config.deps.push('MutationObserver');
51-
}
52-
5346
/**
5447
* Polyfill FormData object for old browsers that don't have full support for it.
5548
*/

dev/tests/integration/testsuite/Magento/Framework/Composer/_files/testFromCreateProject/composer.lock

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/integration/testsuite/Magento/Framework/Composer/_files/testSkeleton/composer.lock

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)