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

Function mergeMetaConfig

tools/common/_hyperscript.iife.js:10016–10022  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10014 }
10015 }
10016 function mergeMetaConfig() {
10017 let element = document.querySelector('meta[name="htmx-config"]');
10018 if (element) {
10019 let metaConfig = JSON.parse(element.content);
10020 Object.assign(config, metaConfig);
10021 }
10022 }
10023 if (typeof document !== "undefined") {
10024 (async function() {
10025 mergeMetaConfig();

Callers 1

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected