From d7f36720d4683c6c1da389a15c5ab04a6de351b4 Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 1 Feb 2023 13:46:50 +0000 Subject: [PATCH] [ci] format --- packages/integrations/lit/client-shim.js | 10 +++++++--- packages/integrations/lit/client-shim.min.js | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/packages/integrations/lit/client-shim.js b/packages/integrations/lit/client-shim.js index c457710b7d2b..a798dba4dabe 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(`

`, 'text/html', { - includeShadowRoots: true, - }) + .parseFromString( + `

`, + 'text/html', + { + includeShadowRoots: true, + } + ) .querySelector('p'); if (!polyfillCheckEl || !polyfillCheckEl.shadowRoot) { diff --git a/packages/integrations/lit/client-shim.min.js b/packages/integrations/lit/client-shim.min.js index 0965e6a78bb6..2e3d07ae7c07 100644 --- a/packages/integrations/lit/client-shim.min.js +++ b/packages/integrations/lit/client-shim.min.js @@ -80,8 +80,12 @@ async function g() { window.addEventListener('DOMContentLoaded', () => t(document.body), { once: true }); } var x = new DOMParser() - .parseFromString('

', 'text/html', { - includeShadowRoots: !0, - }) + .parseFromString( + '

', + 'text/html', + { + includeShadowRoots: !0, + } + ) .querySelector('p'); (!x || !x.shadowRoot) && g();