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

Method resolve

www/js/_hyperscript.esm.js:5153–5159  ·  view source on GitHub ↗
(context, { parts } = {})

Source from the content-addressed store, hash-verified

5151 return new _QueryRef(queryValue, args, template);
5152 }
5153 resolve(context, { parts } = {}) {
5154 if (this.template) {
5155 return new TemplatedQueryElementCollection(this.css, context.me, parts, context.meta.runtime);
5156 } else {
5157 return new ElementCollection(this.css, context.me, false, context.meta.runtime);
5158 }
5159 }
5160 get lhs() {
5161 return this.template ? { parts: this.templateArgs } : {};
5162 }

Callers 1

setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected