MCPcopy Create free account
hub / github.com/GoogleChrome/samples / warnOnce

Function warnOnce

mkbitmap/mkbitmap.js:1096–1103  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1094 }
1095
1096 function warnOnce(text) {
1097 if (!warnOnce.shown) warnOnce.shown = {};
1098 if (!warnOnce.shown[text]) {
1099 warnOnce.shown[text] = 1;
1100 if (ENVIRONMENT_IS_NODE) text = 'warning: ' + text;
1101 err(text);
1102 }
1103 }
1104
1105 function setErrNo(value) {
1106 HEAP32[((___errno_location())>>2)] = value;

Callers 6

missingGlobalFunction · 0.70
missingLibrarySymbolFunction · 0.70
stringToUTF8ArrayFunction · 0.70
demangleFunction · 0.70
UTF8ArrayToStringFunction · 0.70
mkbitmap.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected