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

Method #getScriptSelector

www/js/_hyperscript.esm.js:2740–2745  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

processNodeMethod · 0.95

Calls 1

#getScriptAttributesMethod · 0.95

Tested by

no test coverage detected