File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 3030
3131import { html , svg , find } from 'property-information'
3232import { toH } from 'hast-to-hyperscript'
33- import { webNamespaces } from 'web-namespaces'
33+ import { webNamespaces as ns } from 'web-namespaces'
3434import { zwitch } from 'zwitch'
3535
36- const ns = /** @type {Record<string, string> } */ ( webNamespaces )
37-
3836const own = { } . hasOwnProperty
3937
4038// @ts -expect-error: hush.
@@ -60,7 +58,6 @@ export function toParse5(tree, space) {
6058function root ( node , schema ) {
6159 /** @type {P5Document } */
6260 const p5 = {
63- // @ts -expect-error: fine.
6461 nodeName : '#document' ,
6562 // @ts -expect-error: fine.
6663 mode : ( node . data || { } ) . quirksMode ? 'quirks' : 'no-quirks' ,
@@ -78,7 +75,6 @@ function root(node, schema) {
7875function fragment ( node , schema ) {
7976 /** @type {P5Fragment } */
8077 const p5 = {
81- // @ts -expect-error: fine.
8278 nodeName : '#document-fragment' ,
8379 childNodes : [ ]
8480 }
You can’t perform that action at this time.
0 commit comments