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

Method #getScriptSelector

tools/common/_hyperscript.iife.js:2729–2734  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2727 }
2728 #scriptSelector;
2729 #getScriptSelector() {
2730 if (!this.#scriptSelector) {
2731 this.#scriptSelector = this.#getScriptAttributes().map((a) => "[" + a + "]").join(", ");
2732 }
2733 return this.#scriptSelector;
2734 }
2735 #hashScript(str) {
2736 var hash = 5381;
2737 for (var i = 0; i < str.length; i++) {

Callers 1

processNodeMethod · 0.95

Calls 1

#getScriptAttributesMethod · 0.95

Tested by

no test coverage detected