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 c00eba5 commit 86ca03eCopy full SHA for 86ca03e
src/compiler/parser/index.js
@@ -375,7 +375,7 @@ export function parseFor (exp: string): ?ForParseResult {
375
const alias = inMatch[1].trim().replace(stripParensRE, '')
376
const iteratorMatch = alias.match(forIteratorRE)
377
if (iteratorMatch) {
378
- res.alias = alias.replace(forIteratorRE, '')
+ res.alias = alias.replace(forIteratorRE, '').trim()
379
res.iterator1 = iteratorMatch[1].trim()
380
if (iteratorMatch[2]) {
381
res.iterator2 = iteratorMatch[2].trim()
0 commit comments