MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / resolve

Method resolve

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

Source from the content-addressed store, hash-verified

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

Callers 1

setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected