MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / formatLabel

Function formatLabel

code/dependency-injection/public/app.js:7576–7580  ·  view source on GitHub ↗
(label, warning$$1)

Source from the content-addressed store, hash-verified

7574};
7575
7576var formatLabel = function (label, warning$$1) {
7577 var prefix = warning$$1 ? warningEmoji + ' ' : reactEmoji + ' ';
7578 var suffix = warning$$1 ? ' Warning: ' + warning$$1 : '';
7579 return '' + prefix + label + suffix;
7580};
7581
7582var beginMark = function (markName) {
7583 performance.mark(formatMarkName(markName));

Callers 1

endMarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected