chore: typo fixes (#1546)

* chore: fix typos in comments/JSDoc.

* chore: fix typo in internal function name.

* chore: fix typos in test comments/descriptions/variable names.
This commit is contained in:
Felix Rilling
2020-07-08 12:32:42 +02:00
committed by GitHub
parent 9b04ea3324
commit 829b35e426
19 changed files with 27 additions and 27 deletions

View File

@@ -142,7 +142,7 @@ export const ssrTransformComponent: NodeTransform = (node, context) => {
if (typeof component !== 'string') {
// dynamic component that resolved to a `resolveDynamicComponent` call
// expression - since the reoslved result may be a plain element (string)
// expression - since the resolved result may be a plain element (string)
// or a VNode, handle it with `renderVNode`.
node.ssrCodegenNode = createCallExpression(
context.helper(SSR_RENDER_VNODE),

View File

@@ -64,7 +64,7 @@ export const ssrTransformElement: NodeTransform = (node, context) => {
// element
// generate the template literal representing the open tag.
const openTag: TemplateLiteral['elements'] = [`<${node.tag}`]
// some tags need to be pasesd to runtime for special checks
// some tags need to be passed to runtime for special checks
const needTagForRuntime =
node.tag === 'textarea' || node.tag.indexOf('-') > 0