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

Function getUniqueRunDependency

mkbitmap/mkbitmap.js:601–607  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

599var runDependencyTracking = {};
600
601function getUniqueRunDependency(id) {
602 var orig = id;
603 while (1) {
604 if (!runDependencyTracking[id]) return id;
605 id = orig + Math.random();
606 }
607}
608
609function addRunDependency(id) {
610 runDependencies++;

Callers 2

asyncLoadFunction · 0.70
mkbitmap.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected