(str)
| 2744 | return this.#scriptSelector; |
| 2745 | } |
| 2746 | #hashScript(str) { |
| 2747 | var hash = 5381; |
| 2748 | for (var i = 0; i < str.length; i++) { |
| 2749 | hash = (hash << 5) + hash + str.charCodeAt(i); |
| 2750 | } |
| 2751 | return hash; |
| 2752 | } |
| 2753 | cleanup(elt) { |
| 2754 | if (!elt._hyperscript) return; |
| 2755 | this.triggerEvent(elt, "hyperscript:before:cleanup"); |