We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3e208 commit f058a21Copy full SHA for f058a21
src/compiler/error-detector.js
@@ -9,7 +9,7 @@ const prohibitedKeywordRE = new RegExp('\\b' + (
9
'extends,finally,continue,debugger,function,arguments'
10
).split(',').join('\\b|\\b') + '\\b')
11
// check valid identifier for v-for
12
-const identRE = /[^\w$\.](?:[A-Za-z_$][\w$]*)/
+const identRE = /[A-Za-z_$][\w$]*/
13
14
// detect problematic expressions in a template
15
export function detectErrors (ast: ?ASTNode): Array<string> {
0 commit comments