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

Method set

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

Source from the content-addressed store, hash-verified

5162 return this.template ? { parts: this.templateArgs } : {};
5163 }
5164 set(ctx, lhs, value) {
5165 var targets = Array.from(this.resolve(ctx, lhs));
5166 ctx.meta.runtime.replaceInDom(targets, value);
5167 }
5168 };
5169 var AttributeRef = class _AttributeRef extends Expression {
5170 static grammarName = "attributeRef";

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.95
replaceInDomMethod · 0.45

Tested by

no test coverage detected