]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: use 'const' instead of 'let' (#755) [ci skip]
authorLuxiaosong <2878354193@qq.com>
Fri, 21 Feb 2020 10:21:24 +0000 (18:21 +0800)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2020 10:21:24 +0000 (11:21 +0100)
packages/compiler-core/src/parse.ts

index f856d06027d05e23414b5395344374ed30e2585e..dbadeff771bbc57556e455b36afecea230ee3b8f 100644 (file)
@@ -694,7 +694,7 @@ function parseAttributeValue(
     if (!match) {
       return undefined
     }
-    let unexpectedChars = /["'<=`]/g
+    const unexpectedChars = /["'<=`]/g
     let m: RegExpExecArray | null
     while ((m = unexpectedChars.exec(match[0])) !== null) {
       emitError(