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

Function checkEvent

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

Source from the content-addressed store, hash-verified

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

Callers 1

checkNodeFunction · 0.70

Calls 1

checkExpressionFunction · 0.70

Tested by

no test coverage detected