MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / toJsc

Function toJsc

Rewrite-Parser.js:2366–2373  ·  view source on GitHub ↗
(jsurl, jscStatus, jsc2Status, jsfrom)

Source from the content-addressed store, hash-verified

2364} //isJsCon结束
2365
2366function toJsc(jsurl, jscStatus, jsc2Status, jsfrom) {
2367 if (jscStatus == true || jsc2Status == true) {
2368 let jsFileName = jsurl.substring(jsurl.lastIndexOf('/') + 1, jsurl.lastIndexOf('.'))
2369 return (jsurl = jsPre + jsurl + jsSuf.replace(/_yuliu_/, jsFileName).replace(/_js_from_/, jsfrom))
2370 } else {
2371 return jsurl
2372 }
2373}
2374
2375function shNotify(box) {
2376 noNtf == false &&

Callers 1

Rewrite-Parser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected