summaryrefslogtreecommitdiff
path: root/packages/integrations/lit/client-shim.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/lit/client-shim.js')
-rw-r--r--packages/integrations/lit/client-shim.js10
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) {