[ci] yarn format
This commit is contained in:
parent
a7e66666e4
commit
ed83424fdb
2 changed files with 2 additions and 4 deletions
|
@ -3,9 +3,7 @@ async function polyfill() {
|
|||
hydrateShadowRoots(document.body);
|
||||
}
|
||||
|
||||
const polyfillCheckEl = new DOMParser()
|
||||
.parseFromString(`<p><template shadowroot="open"></template></p>`, 'text/html', {includeShadowRoots: true})
|
||||
.querySelector('p');
|
||||
const polyfillCheckEl = new DOMParser().parseFromString(`<p><template shadowroot="open"></template></p>`, 'text/html', { includeShadowRoots: true }).querySelector('p');
|
||||
|
||||
if (!polyfillCheckEl || !polyfillCheckEl.shadowRoot) {
|
||||
polyfill();
|
||||
|
|
Loading…
Reference in a new issue