MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / t

Function t

BTPanel/static/editor/worker-javascript.js:3–16  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

1'no use strict'
2!(function (e) {
3 function t(e, t) {
4 var n = e,
5 r = ''
6 while (n) {
7 var i = t[n]
8 if (typeof i == 'string') return i + r
9 if (i) return i.location.replace(/\/*$/, '/') + (r || i.main || i.name)
10 if (i === !1) return ''
11 var s = n.lastIndexOf('/')
12 if (s === -1) break
13 ;(r = n.substr(s) + r), (n = n.slice(0, s))
14 }
15 return e
16 }
17 if (typeof e.window != 'undefined' && e.document) return
18 if (e.require && e.define) return
19 e.console ||

Callers 15

VFunction · 0.70
JFunction · 0.70
KFunction · 0.70
ZFunction · 0.70
lnFunction · 0.70
AFunction · 0.70
OFunction · 0.70
MFunction · 0.70
HFunction · 0.70
jFunction · 0.70
FFunction · 0.70

Calls 11

eFunction · 0.70
oFunction · 0.70
LFunction · 0.70
XtFunction · 0.70
nFunction · 0.70
WFunction · 0.70
FFunction · 0.70
BFunction · 0.70
dnFunction · 0.70
replaceMethod · 0.45
sliceMethod · 0.45

Tested by

no test coverage detected