MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / ready

Function ready

www/js/_hyperscript.js:10488–10494  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

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

Callers 1

_hyperscript.jsFile · 0.70

Calls 1

setTimeoutFunction · 0.50

Tested by

no test coverage detected