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

Method set

www/js/_hyperscript-max.js:4111–4117  ·  view source on GitHub ↗
(ctx, lhs, value)

Source from the content-addressed store, hash-verified

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