diff --git a/core/assets/vendor/htmx/debug.js b/core/assets/vendor/htmx/debug.js deleted file mode 100644 index 15378ccc077720b1c91c05cf4bfd230fd3853f10..0000000000000000000000000000000000000000 --- a/core/assets/vendor/htmx/debug.js +++ /dev/null @@ -1,11 +0,0 @@ -htmx.defineExtension('debug', { - onEvent: function(name, evt) { - if (console.debug) { - console.debug(name, evt) - } else if (console) { - console.log('DEBUG:', name, evt) - } else { - throw new Error('NO CONSOLE SUPPORTED') - } - } -}) diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 5ec851e898e7652d7f8ab474dfaf6ef3b138f4c4..76aaa3965f013dc97a22a67fef10084043e53021 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -791,18 +791,6 @@ htmx: js: assets/vendor/htmx/htmx.min.js: { minified: true } -htmx.debug: - remote: https://github.com/bigskysoftware/htmx-extensions - version: "2.0.1" - license: - name: Zero-Clause BSD - url: https://raw.githubusercontent.com/bigskysoftware/htmx-extensions/refs/heads/main/src/debug/LICENSE - gpl-compatible: true - js: - assets/vendor/htmx/debug.js: {} - dependencies: - - core/htmx - internal.floating-ui: remote: https://github.com/floating-ui/floating-ui version: "1.6.12" diff --git a/core/scripts/js/vendor-update.js b/core/scripts/js/vendor-update.js index 1b5de61fa36d10fd1adc3f0f9cd9a5055127779e..4a6f2ef91c694832c910364e426fe77e49eb70f3 100644 --- a/core/scripts/js/vendor-update.js +++ b/core/scripts/js/vendor-update.js @@ -81,11 +81,11 @@ const assetsFolder = `${coreFolder}/assets/vendor`; }, { pack: 'htmx.org', + folder: 'htmx', library: 'htmx', files: [ { from: 'dist/htmx.min.js', to: 'htmx.min.js' }, { from: 'dist/htmx.js', to: 'htmx.js' }, - { from: 'dist/ext/debug.js', to: 'debug.js' }, ], }, {