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

Method resolve

www/js/_hyperscript-max.js:5106–5112  ·  view source on GitHub ↗
(context, { expr } = {})

Source from the content-addressed store, hash-verified

5104 }
5105 }
5106 resolve(context, { expr } = {}) {
5107 if (this.variant === "template") {
5108 return new ElementCollection("." + expr, context.me, true, context.meta.runtime);
5109 } else {
5110 return new ElementCollection(this.css, context.me, true, context.meta.runtime);
5111 }
5112 }
5113 get lhs() {
5114 return {};
5115 }

Callers 1

setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected