MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / set

Method set

www/js/_hyperscript.js:4112–4118  ·  view source on GitHub ↗
(ctx, lhs, value)

Source from the content-addressed store, hash-verified

4110 return { root: this.root };
4111 }
4112 set(ctx, lhs, value) {
4113 ctx.meta.runtime.nullCheck(lhs.root, this.root);
4114 var runtime2 = ctx.meta.runtime;
4115 runtime2.implicitLoop(lhs.root, (elt) => {
4116 runtime2.setProperty(elt, this.prop.value, value);
4117 });
4118 }
4119 delete(ctx, lhs) {
4120 ctx.meta.runtime.nullCheck(lhs.root, this.root);
4121 var runtime2 = ctx.meta.runtime;

Callers

nothing calls this directly

Calls 3

nullCheckMethod · 0.45
implicitLoopMethod · 0.45
setPropertyMethod · 0.45

Tested by

no test coverage detected