MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / removeError

Function removeError

core/cb.addons/require-tools/less/lessc.js:6517–6525  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

6515}
6516
6517function removeError(path) {
6518 if (!less.errorReporting || less.errorReporting === "html") {
6519 removeErrorHTML(path);
6520 } else if (less.errorReporting === "console") {
6521 removeErrorConsole(path);
6522 } else if (typeof less.errorReporting === 'function') {
6523 less.errorReporting("remove", path);
6524 }
6525}
6526
6527function loadStyles(newVars) {
6528 var styles = document.getElementsByTagName('style'),

Callers 1

loadStyleSheetFunction · 0.85

Calls 2

removeErrorHTMLFunction · 0.85
removeErrorConsoleFunction · 0.85

Tested by

no test coverage detected