Răsfoiți Sursa

typo fix (#4583)

-  nomralization / normalzation → normalization
yu1222 9 ani în urmă
părinte
comite
d111f3f1fd
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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
 // 0: no normalization needed
 // 1: simple normalization needed (possible 1-level deep nested array)
 // 1: simple normalization needed (possible 1-level deep nested array)
-// 2: full nomralization needed
+// 2: full normalization needed
 function getNormalizationType (children): number {
 function getNormalizationType (children): number {
   let res = 0
   let res = 0
   for (let i = 0; i < children.length; i++) {
   for (let i = 0; i < children.length; i++) {