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

Function mergeMetaConfig

www/js/_hyperscript.js:10495–10501  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10493 }
10494 }
10495 function mergeMetaConfig() {
10496 let element = document.querySelector('meta[name="htmx-config"]');
10497 if (element) {
10498 let metaConfig = JSON.parse(element.content);
10499 Object.assign(config, metaConfig);
10500 }
10501 }
10502 if (typeof document !== "undefined") {
10503 (async function() {
10504 mergeMetaConfig();

Callers 1

_hyperscript.jsFile · 0.70

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected