MCPcopy Create free account
hub / github.com/microsoft/SandDance / _fixDeprecatedSlots

Function _fixDeprecatedSlots

docs/app/js/sanddance-app.js:27894–27904  ·  view source on GitHub ↗
(s, depComments)

Source from the content-addressed store, hash-verified

27892 return result;
27893}
27894function _fixDeprecatedSlots(s, depComments) {
27895 // Add @deprecated tag as comment if enabled
27896 var dep = "";
27897 if (depComments === true) dep = " /* @deprecated */";
27898 /* eslint-disable deprecation/deprecation */ s.listTextColor = s.listText + dep;
27899 s.menuItemBackgroundChecked += dep;
27900 s.warningHighlight += dep;
27901 s.warningText = s.messageText + dep;
27902 s.successText += dep;
27903 /* eslint-enable deprecation/deprecation */ return s;
27904}
27905
27906},{"tslib":"01Tx1","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"kWRXo":[function(require,module,exports) {
27907var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

makeSemanticColorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected