MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / __getUuid

Function __getUuid

CustomerManager/Scripts/breeze.debug.js:497–503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495 }
496
497 function __getUuid() {
498 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
499 //noinspection NonShortCircuitBooleanExpressionJS
500 var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
501 return v.toString(16);
502 });
503 }
504
505 function __durationToSeconds(duration) {
506 // basic algorithm from https://github.com/nezasa/iso8601-js-period

Callers 3

getNextGuidFunction · 0.85
ctorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected