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

Function ready

www/js/_hyperscript-max.js:10487–10493  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

setTimeoutFunction · 0.50

Tested by

no test coverage detected