Browse Source

typo fix (#4583)

-  nomralization / normalzation → normalization
yu1222 9 years ago
parent
commit
d111f3f1fd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/compiler/codegen/index.js

+ 2 - 2
src/compiler/codegen/index.js

@@ -302,10 +302,10 @@ function genChildren (el: ASTElement, checkSkip?: boolean): string | void {
   }
 }
 
-// determine the normalzation needed for the children array.
+// determine the normalization needed for the children array.
 // 0: no normalization needed
 // 1: simple normalization needed (possible 1-level deep nested array)
-// 2: full nomralization needed
+// 2: full normalization needed
 function getNormalizationType (children): number {
   let res = 0
   for (let i = 0; i < children.length; i++) {