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

Function donePage

box/chavy.boxjs.js:1242–1246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1240}
1241
1242function donePage() {
1243 const headers = getHtmlDoneHeaders()
1244 if ($.isQuanX()) $.done({ status: 'HTTP/1.1 200', headers, body: $.html })
1245 else $.done({ response: { status: 200, headers, body: $.html } })
1246}
1247
1248function doneQuery() {
1249 $.json = $.toStr($.json)

Callers 1

doneBoxFunction · 0.70

Calls 3

getHtmlDoneHeadersFunction · 0.70
isQuanXMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected