chore: fix import path + comment

This commit is contained in:
Evan You 2020-02-12 12:12:53 -05:00
parent 27913e661a
commit d866d389f3
2 changed files with 5 additions and 1 deletions

View File

@ -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) {

View File

@ -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'