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