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

Function mergeMetaConfig

www/js/_hyperscript-max.js:10494–10500  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected