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

Function doneBox

chavy.box.js:1205–1213  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 1

chavy.box.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