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

Function checkFor

static/vuejs/vue.esm.js:8912–8917  ·  view source on GitHub ↗
(node, text, errors)

Source from the content-addressed store, hash-verified

8910}
8911
8912function checkFor (node, text, errors) {
8913 checkExpression(node.for || '', text, errors);
8914 checkIdentifier(node.alias, 'v-for alias', text, errors);
8915 checkIdentifier(node.iterator1, 'v-for iterator', text, errors);
8916 checkIdentifier(node.iterator2, 'v-for iterator', text, errors);
8917}
8918
8919function checkIdentifier (ident, type, text, errors) {
8920 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