chore: fix import path + comment
This commit is contained in:
parent
27913e661a
commit
d866d389f3
@ -32,6 +32,10 @@ function shouldOptimize(node: ElementNode): boolean {
|
||||
let bindingThreshold = 5
|
||||
let nodeThreshold = 20
|
||||
|
||||
// TODO: check for cases where using innerHTML will result in different
|
||||
// output compared to imperative node insertions.
|
||||
// probably only need to check for most common case
|
||||
// i.e. non-phrasing-content tags inside `<p>`
|
||||
function walk(node: ElementNode) {
|
||||
for (let i = 0; i < node.children.length; i++) {
|
||||
if (--nodeThreshold === 0) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { RendererOptions } from '@vue/runtime-core/src'
|
||||
import { RendererOptions } from '@vue/runtime-core'
|
||||
|
||||
const doc = (typeof document !== 'undefined' ? document : null) as Document
|
||||
const svgNS = 'http://www.w3.org/2000/svg'
|
||||
|
Loading…
Reference in New Issue
Block a user