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

Function ready

tools/common/_hyperscript.iife.js:10009–10015  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

10007 }
10008 );
10009 function ready(fn) {
10010 if (document.readyState !== "loading") {
10011 setTimeout(fn);
10012 } else {
10013 document.addEventListener("DOMContentLoaded", fn);
10014 }
10015 }
10016 function mergeMetaConfig() {
10017 let element = document.querySelector('meta[name="htmx-config"]');
10018 if (element) {

Callers 1

Calls 1

setTimeoutFunction · 0.70

Tested by

no test coverage detected