MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / #getScriptSelector

Method #getScriptSelector

www/js/_hyperscript.js:2742–2747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

processNodeMethod · 0.95

Calls 1

#getScriptAttributesMethod · 0.95

Tested by

no test coverage detected