MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #getScriptSelector

Method #getScriptSelector

www/js/_hyperscript-max.js:2741–2746  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2739 }
2740 #scriptSelector;
2741 #getScriptSelector() {
2742 if (!this.#scriptSelector) {
2743 this.#scriptSelector = this.#getScriptAttributes().map((a) => "[" + a + "]").join(", ");
2744 }
2745 return this.#scriptSelector;
2746 }
2747 #hashScript(str) {
2748 var hash = 5381;
2749 for (var i = 0; i < str.length; i++) {

Callers 1

processNodeMethod · 0.95

Calls 1

#getScriptAttributesMethod · 0.95

Tested by

no test coverage detected