MCPcopy Index your code
hub / github.com/feiyu563/PrometheusAlert / deprecateSimple

Function deprecateSimple

static/plugins/chart.js/Chart.bundle.js:15037–15045  ·  view source on GitHub ↗
(name, msg)

Source from the content-addressed store, hash-verified

15035 var deprecations = {};
15036
15037 function deprecateSimple(name, msg) {
15038 if (hooks.deprecationHandler != null) {
15039 hooks.deprecationHandler(name, msg);
15040 }
15041 if (!deprecations[name]) {
15042 warn(msg);
15043 deprecations[name] = true;
15044 }
15045 }
15046
15047 hooks.suppressDeprecationWarnings = false;
15048 hooks.deprecationHandler = null;

Callers 2

defineLocaleFunction · 0.85
createAdderFunction · 0.85

Calls 1

warnFunction · 0.85

Tested by

no test coverage detected