(node, text, errors)
| 8906 | } |
| 8907 | |
| 8908 | function checkFor (node, text, errors) { |
| 8909 | checkExpression(node.for || '', text, errors); |
| 8910 | checkIdentifier(node.alias, 'v-for alias', text, errors); |
| 8911 | checkIdentifier(node.iterator1, 'v-for iterator', text, errors); |
| 8912 | checkIdentifier(node.iterator2, 'v-for iterator', text, errors); |
| 8913 | } |
| 8914 | |
| 8915 | function checkIdentifier (ident, type, text, errors) { |
| 8916 | if (typeof ident === 'string' && !identRE.test(ident)) { |
no test coverage detected