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

Method resolve

www/js/_hyperscript.js:6484–6493  ·  view source on GitHub ↗
(context, args)

Source from the content-addressed store, hash-verified

6482 return new _SetCommand(target, value);
6483 }
6484 resolve(context, args) {
6485 if (this.objectLiteral) {
6486 var { obj, setTarget } = args;
6487 Object.assign(setTarget, obj);
6488 } else {
6489 var { value, ...lhs } = args;
6490 this.target.set(context, lhs, value);
6491 }
6492 return this.findNext(context);
6493 }
6494 };
6495 var DefaultCommand = class _DefaultCommand extends Command {
6496 static keyword = "default";

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
findNextMethod · 0.45

Tested by

no test coverage detected