We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583364f commit 6f605c2Copy full SHA for 6f605c2
app/code/Magento/Csp/view/base/web/js/sri.js
@@ -4,9 +4,10 @@
4
*/
5
require.config({
6
onNodeCreated: function (node, config, moduleName, url) {
7
+ 'use strict';
8
if ('sriHashes' in window && url in window.sriHashes) {
- node.setAttribute("integrity", window.sriHashes[url])
9
- node.setAttribute("crossorigin", "anonymous")
+ node.setAttribute('integrity', window.sriHashes[url]);
10
+ node.setAttribute('crossorigin', 'anonymous');
11
}
12
13
});
0 commit comments