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

Function isBogus

static/editor.md/lib/codemirror/addon/lint/javascript-lint.js:62–70  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

60 }
61
62 function isBogus(error) {
63 var description = error.description;
64 for ( var i = 0; i < bogus.length; i++) {
65 if (description.indexOf(bogus[i]) !== -1) {
66 return true;
67 }
68 }
69 return false;
70 }
71
72 function parseErrors(errors, output) {
73 for ( var i = 0; i < errors.length; i++) {

Callers 1

cleanupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected