MCPcopy Create free account
hub / github.com/d35ha/CallObfuscator / stripPath2

Function stripPath2

docs/html/navtree.js:41–47  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

39}
40
41function stripPath2(uri)
42{
43 var i = uri.lastIndexOf('/');
44 var s = uri.substring(i+1);
45 var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/);
46 return m ? uri.substring(i-6) : s;
47}
48
49function hashValue()
50{

Callers 2

toggleSyncButtonFunction · 0.85
initNavTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected