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

Function detectErrors

static/vuejs/vue.esm.js:8867–8873  ·  view source on GitHub ↗
(ast)

Source from the content-addressed store, hash-verified

8865
8866// detect problematic expressions in a template
8867function detectErrors (ast) {
8868 var errors = [];
8869 if (ast) {
8870 checkNode(ast, errors);
8871 }
8872 return errors
8873}
8874
8875function checkNode (node, errors) {
8876 if (node.type === 1) {

Callers 1

compileFunction · 0.70

Calls 1

checkNodeFunction · 0.70

Tested by

no test coverage detected