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

Method set

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

Source from the content-addressed store, hash-verified

4349 return { root: this.root, target: this.target };
4350 }
4351 set(ctx, lhs, value) {
4352 var targets = this.resolve(ctx, lhs);
4353 ctx.meta.runtime.replaceInDom(targets, value);
4354 }
4355 };
4356 var AsExpression = class _AsExpression extends Expression {
4357 static grammarName = "asExpression";

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.95
replaceInDomMethod · 0.45

Tested by

no test coverage detected