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

@@ -10,7 +10,7 @@
// const flag = TEXT | CLASS
// if (flag & TEXT) { ... }
//
// Check the `patchElement` function in './createRednerer.ts' to see how the
// Check the `patchElement` function in './createRenderer.ts' to see how the
// flags are handled during diff.
export const enum PatchFlags {
@@ -42,7 +42,7 @@ export const enum PatchFlags {
// Indicates an element that only needs non-props patching, e.g. ref or
// directives (vnodeXXX hooks). It simply marks the vnode as "need patch",
// since every pathced vnode checks for refs and vnodeXXX hooks.
// since every patched vnode checks for refs and vnodeXXX hooks.
// This flag is never directly matched against, it simply serves as a non-zero
// value.
NEED_PATCH = 1 << 5,