File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/angular/ssr/src/utils Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ const CSP_MEDIA_ATTR = 'ngCspMedia';
32
32
* - Removes the event listener when all relevant `<link>` tags have been processed.
33
33
* - Uses event capturing (the `true` parameter) since load events do not bubble up the DOM.
34
34
*/
35
- const LINK_LOAD_SCRIPT_CONTENT = `
36
- (() => {
35
+ const LINK_LOAD_SCRIPT_CONTENT = /* @__PURE__ */ ( ( ) => `(() => {
37
36
const CSP_MEDIA_ATTR = '${ CSP_MEDIA_ATTR } ';
38
37
const documentElement = document.documentElement;
39
38
@@ -57,7 +56,7 @@ const LINK_LOAD_SCRIPT_CONTENT = `
57
56
};
58
57
59
58
documentElement.addEventListener('load', listener, true);
60
- })();` ;
59
+ })();` ) ( ) ;
61
60
62
61
/** Partial representation of an `HTMLElement`. */
63
62
interface PartialHTMLElement {
You can’t perform that action at this time.
0 commit comments