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

Function checkEvent

static/vuejs/vue.esm.js:8901–8910  ·  view source on GitHub ↗
(exp, text, errors)

Source from the content-addressed store, hash-verified

8899}
8900
8901function checkEvent (exp, text, errors) {
8902 var keywordMatch = exp.replace(stripStringRE, '').match(unaryOperatorsRE);
8903 if (keywordMatch) {
8904 errors.push(
8905 "avoid using JavaScript unary operator as property name: " +
8906 "\"" + (keywordMatch[0]) + "\" in expression " + (text.trim())
8907 );
8908 }
8909 checkExpression(exp, text, errors);
8910}
8911
8912function checkFor (node, text, errors) {
8913 checkExpression(node.for || '', text, errors);

Callers 1

checkNodeFunction · 0.70

Calls 1

checkExpressionFunction · 0.70

Tested by

no test coverage detected