diff options
author | 2023-02-01 13:46:50 +0000 | |
---|---|---|
committer | 2023-02-01 13:46:50 +0000 | |
commit | d7f36720d4683c6c1da389a15c5ab04a6de351b4 (patch) | |
tree | 0b75d1c18eee96c2cfcb983c5a4721f06d94d04a /packages/integrations/lit/client-shim.js | |
parent | 2567aa48bba8751cf7e10429555f1e85830c9169 (diff) | |
download | astro-d7f36720d4683c6c1da389a15c5ab04a6de351b4.tar.gz astro-d7f36720d4683c6c1da389a15c5ab04a6de351b4.tar.zst astro-d7f36720d4683c6c1da389a15c5ab04a6de351b4.zip |
[ci] format
Diffstat (limited to 'packages/integrations/lit/client-shim.js')
-rw-r--r-- | packages/integrations/lit/client-shim.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/integrations/lit/client-shim.js b/packages/integrations/lit/client-shim.js index c457710b7..a798dba4d 100644 --- a/packages/integrations/lit/client-shim.js +++ b/packages/integrations/lit/client-shim.js @@ -8,9 +8,13 @@ async function polyfill() { } const polyfillCheckEl = new DOMParser() - .parseFromString(`<p><template shadowroot="open" shadowrootmode="open"></template></p>`, 'text/html', { - includeShadowRoots: true, - }) + .parseFromString( + `<p><template shadowroot="open" shadowrootmode="open"></template></p>`, + 'text/html', + { + includeShadowRoots: true, + } + ) .querySelector('p'); if (!polyfillCheckEl || !polyfillCheckEl.shadowRoot) { |