MCPcopy Index your code
hub / github.com/chavyleung/scripts / doneBox

Function doneBox

chavy.box.js:1146–1154  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1144 * ===================================
1145 */
1146function doneBox() {
1147 // 记录当前使用哪个域名访问
1148 $.setdata(getHost($request.url), $.KEY_boxjs_host)
1149 if ($.isOptions) doneOptions()
1150 else if ($.isPage) donePage()
1151 else if ($.isQuery) doneQuery()
1152 else if ($.isApi) doneApi()
1153 else $.done()
1154}
1155
1156function getBaseDoneHeaders(mixHeaders = {}) {
1157 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…