MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / deprecated

Function deprecated

lib/sanitize-html.js:8145–8157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8143
8144 var warned = false;
8145 function deprecated() {
8146 if (!warned) {
8147 if (config('throwDeprecation')) {
8148 throw new Error(msg);
8149 } else if (config('traceDeprecation')) {
8150 console.trace(msg);
8151 } else {
8152 console.warn(msg);
8153 }
8154 warned = true;
8155 }
8156 return fn.apply(this, arguments);
8157 }
8158
8159 return deprecated;
8160}

Callers

nothing calls this directly

Calls 2

configFunction · 0.85
warnMethod · 0.65

Tested by

no test coverage detected