Explorar o código

Fixed a typo. (#2990)

ZhangJan %!s(int64=10) %!d(string=hai) anos
pai
achega
3e1d70e87c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/parsers/expression.js

+ 1 - 1
src/parsers/expression.js

@@ -119,7 +119,7 @@ function compileGetter (exp) {
     .replace(saveRE, save)
     .replace(wsRE, '')
   // rewrite all paths
-  // pad 1 space here becaue the regex matches 1 extra char
+  // pad 1 space here because the regex matches 1 extra char
   body = (' ' + body)
     .replace(identRE, rewrite)
     .replace(restoreRE, restore)