MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / diagValue

Function diagValue

vm/ByteCodeTranslator/src/javascript/browser_bridge.js:66–71  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

64 })();
65
66 function diagValue(value) {
67 if (value == null) {
68 return 'null';
69 }
70 return String(value).replace(/\s+/g, '_');
71 }
72
73 function log(line) {
74 // Gate browser-bridge PARPAR:* log entries behind the same diagEnabled

Callers 1

diagFunction · 0.70

Calls 2

replaceMethod · 0.65
StringClass · 0.50

Tested by

no test coverage detected