MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / finish

Method finish

www/js/_hyperscript.js:10354–10365  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

10352 var scopes = renderCtx.meta.__ht_scopes || null;
10353 var SCOPE_MARKER_RE = /<!--hs-scope:[^>]*-->/g;
10354 var finish = (result) => {
10355 ctx.result = result.replace(SCOPE_MARKER_RE, "");
10356 if (this.insertHere) {
10357 ctx.me.__hs_scopes = scopes;
10358 ctx.me.innerHTML = result;
10359 }
10360 if (target) {
10361 target.__hs_scopes = scopes;
10362 target.innerHTML = result;
10363 }
10364 return runtime2.findNext(this, ctx);
10365 };
10366 if (renderCtx.meta.returned) {
10367 return finish(buf.join(""));
10368 }

Callers 3

put.jsFile · 0.45
call.jsFile · 0.45
set.jsFile · 0.45

Calls 1

findNextMethod · 0.45

Tested by

no test coverage detected