chore: fix comment typos (#94)

This commit is contained in:
Carlos Rodrigues
2019-10-05 15:35:19 +01:00
committed by Evan You
parent 12abcba2c5
commit 23ff681418
8 changed files with 12 additions and 12 deletions

View File

@@ -190,7 +190,7 @@ export function generate(
// save Vue in a separate variable to avoid collision
push(`const _Vue = Vue\n`)
// in "with" mode, helpers are declared inside the with block to avoid
// has check cost, but hosits are lifted out of the function - we need
// has check cost, but hoists are lifted out of the function - we need
// to provide the helper here.
if (ast.hoists.length) {
push(`const _${CREATE_VNODE} = Vue.createVNode\n`)