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

Method resolve

www/js/_hyperscript.js:5107–5113  ·  view source on GitHub ↗
(context, { expr } = {})

Source from the content-addressed store, hash-verified

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

Callers 1

setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected