MCPcopy Index your code
hub / github.com/TruthHun/BookStack / deprecated

Function deprecated

static/word2md/mammoth.browser.js:5120–5125  ·  view source on GitHub ↗
(name, replacement)

Source from the content-addressed store, hash-verified

5118}
5119
5120function deprecated(name, replacement) {
5121 var message = name +
5122 " is deprecated and will be removed in a future version.";
5123 if (replacement) message += " Use " + replacement + " instead.";
5124 return warn(message);
5125}
5126
5127function warn(message, shouldUseOwnTrace, promise) {
5128 if (!config.warnings) return;

Callers

nothing calls this directly

Calls 2

warnFunction · 0.70
configFunction · 0.70

Tested by

no test coverage detected