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

Method resolve

www/js/_hyperscript-max.js:5154–5160  ·  view source on GitHub ↗
(context, { parts } = {})

Source from the content-addressed store, hash-verified

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

Callers 1

setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected