MCPcopy Create free account
hub / github.com/TruthHun/BookStack / checkFor

Function checkFor

static/vuejs/vue.common.js:8914–8919  ·  view source on GitHub ↗
(node, text, errors)

Source from the content-addressed store, hash-verified

8912}
8913
8914function 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
8921function checkIdentifier (ident, type, text, errors) {
8922 if (typeof ident === 'string' && !identRE.test(ident)) {

Callers 1

checkNodeFunction · 0.70

Calls 2

checkExpressionFunction · 0.70
checkIdentifierFunction · 0.70

Tested by

no test coverage detected