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

Method set

tools/common/_hyperscript.iife.js:4774–4777  ·  view source on GitHub ↗
(ctx, lhs, value)

Source from the content-addressed store, hash-verified

4772 return {};
4773 }
4774 set(ctx, lhs, value) {
4775 var targets = Array.from(this.resolve(ctx));
4776 ctx.meta.runtime.replaceInDom(targets, value);
4777 }
4778 };
4779 var QueryRef = class _QueryRef extends Expression {
4780 static grammarName = "queryRef";

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.95
replaceInDomMethod · 0.45

Tested by

no test coverage detected