()
| 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(); |
no test coverage detected