Skip to content

Commit 22ef7d7

Browse files
committed
js junk
1 parent c5b8e9a commit 22ef7d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ReactInjectPlugin.php

+7
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ protected function renderAssetHtml(\Magento\Framework\View\Asset\PropertyGroup $
7979
$removeCSSjunk = true;
8080
}
8181

82+
if (isset($_GET['js-junk']) && $_GET['js-junk'] === "false") {
83+
$removeAdobeJSJunk = false;
84+
}
85+
if (isset($_GET['js-junk']) && $_GET['js-junk'] === "true") {
86+
$removeAdobeJSJunk = true;
87+
}
88+
8289
$area = $this->state->getAreaCode();
8390
$pageFilter = ['checkout', 'customer'];
8491

0 commit comments

Comments
 (0)