(node, text, errors)
| 8912 | } |
| 8913 | |
| 8914 | function checkFor (node, text, errors) { |
| 8915 | checkExpression(node.for || '', text, errors); |
| 8916 | checkIdentifier(node.alias, 'v-for alias', text, errors); |
| 8917 | checkIdentifier(node.iterator1, 'v-for iterator', text, errors); |
| 8918 | checkIdentifier(node.iterator2, 'v-for iterator', text, errors); |
| 8919 | } |
| 8920 | |
| 8921 | function checkIdentifier (ident, type, text, errors) { |
| 8922 | if (typeof ident === 'string' && !identRE.test(ident)) { |
no test coverage detected