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

Function donePage

chavy.box.js:1244–1248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1242}
1243
1244function donePage() {
1245 const headers = getHtmlDoneHeaders()
1246 if ($.isQuanX()) $.done({ status: 'HTTP/1.1 200', headers, body: $.html })
1247 else $.done({ response: { status: 200, headers, body: $.html } })
1248}
1249
1250function doneQuery() {
1251 $.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