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

Method resolve

tools/common/_hyperscript.iife.js:4764–4770  ·  view source on GitHub ↗
(context, { expr } = {})

Source from the content-addressed store, hash-verified

4762 }
4763 }
4764 resolve(context, { expr } = {}) {
4765 if (this.variant === "template") {
4766 return new ElementCollection("." + expr, context.me, true, context.meta.runtime);
4767 } else {
4768 return new ElementCollection(this.css, context.me, true, context.meta.runtime);
4769 }
4770 }
4771 get lhs() {
4772 return {};
4773 }

Callers 1

setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected