MCPcopy
hub / github.com/chavyleung/scripts / donePage

Function donePage

chavy.box.js:1185–1189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1183}
1184
1185function donePage() {
1186 const headers = getHtmlDoneHeaders()
1187 if ($.isQuanX()) $.done({ status: 'HTTP/1.1 200', headers, body: $.html })
1188 else $.done({ response: { status: 200, headers, body: $.html } })
1189}
1190
1191function doneQuery() {
1192 $.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

Used in the wild real call sites across dependent graphs

searching dependent graphs…