Skip to content

Commit

Permalink
chore: build patched-v3.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
izaera committed Aug 6, 2024
1 parent 6ec2f36 commit 967528c
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 40 deletions.
4 changes: 2 additions & 2 deletions build/get/get-coverage.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions build/get/get-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -1079,14 +1079,15 @@ Transaction.prototype = {
self._progress(null, req);
}

// Deal with CSP nonce
if (Liferay.CSP && Liferay.CSP.nonce && ['link', 'script', 'style'].includes(nodeType)) {
node.setAttribute('nonce', Liferay.CSP.nonce);
}

// Deal with script asynchronicity.
if (isScript) {
node.setAttribute('src', req.url);

if (Liferay.CSP && Liferay.CSP.nonce) {
node.setAttribute('nonce', Liferay.CSP.nonce);
}

if (req.async) {
// Explicitly indicate that we want the browser to execute this
// script asynchronously. This is necessary for older browsers
Expand Down
4 changes: 2 additions & 2 deletions build/get/get-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions build/get/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -1063,14 +1063,15 @@ Transaction.prototype = {
self._progress(null, req);
}

// Deal with CSP nonce
if (Liferay.CSP && Liferay.CSP.nonce && ['link', 'script', 'style'].includes(nodeType)) {
node.setAttribute('nonce', Liferay.CSP.nonce);
}

// Deal with script asynchronicity.
if (isScript) {
node.setAttribute('src', req.url);

if (Liferay.CSP && Liferay.CSP.nonce) {
node.setAttribute('nonce', Liferay.CSP.nonce);
}

if (req.async) {
// Explicitly indicate that we want the browser to execute this
// script asynchronously. This is necessary for older browsers
Expand Down
9 changes: 5 additions & 4 deletions build/yui-base/yui-base-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -5346,14 +5346,15 @@ Transaction.prototype = {
self._progress(null, req);
}

// Deal with CSP nonce
if (Liferay.CSP && Liferay.CSP.nonce && ['link', 'script', 'style'].includes(nodeType)) {
node.setAttribute('nonce', Liferay.CSP.nonce);
}

// Deal with script asynchronicity.
if (isScript) {
node.setAttribute('src', req.url);

if (Liferay.CSP && Liferay.CSP.nonce) {
node.setAttribute('nonce', Liferay.CSP.nonce);
}

if (req.async) {
// Explicitly indicate that we want the browser to execute this
// script asynchronously. This is necessary for older browsers
Expand Down
Loading

0 comments on commit 967528c

Please sign in to comment.