MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / ready

Function ready

www/js/_hyperscript.esm.js:10486–10492  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

10484 }
10485);
10486function ready(fn) {
10487 if (document.readyState !== "loading") {
10488 setTimeout(fn);
10489 } else {
10490 document.addEventListener("DOMContentLoaded", fn);
10491 }
10492}
10493function mergeMetaConfig() {
10494 let element = document.querySelector('meta[name="htmx-config"]');
10495 if (element) {

Callers 1

Calls 1

setTimeoutFunction · 0.50

Tested by

no test coverage detected