MCPcopy Create free account
hub / github.com/chavyleung/scripts / doneBox

Function doneBox

box/chavy.boxjs.js:1203–1211  ·  view source on GitHub ↗

* =================================== * 结束类函数 * ===================================

()

Source from the content-addressed store, hash-verified

1201 * ===================================
1202 */
1203function doneBox() {
1204 // 记录当前使用哪个域名访问
1205 $.setdata(getHost($request.url), $.KEY_boxjs_host)
1206 if ($.isOptions) doneOptions()
1207 else if ($.isPage) donePage()
1208 else if ($.isQuery) doneQuery()
1209 else if ($.isApi) doneApi()
1210 else $.done()
1211}
1212
1213function getBaseDoneHeaders(mixHeaders = {}) {
1214 return Object.assign(

Callers 1

chavy.boxjs.jsFile · 0.70

Calls 7

getHostFunction · 0.70
doneOptionsFunction · 0.70
donePageFunction · 0.70
doneQueryFunction · 0.70
doneApiFunction · 0.70
setdataMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected