Skip to content
Snippets Groups Projects
Verified Commit 042eb55b authored by Dave Long's avatar Dave Long
Browse files

Issue #3520723 followup by nod_: Add HTMX dependency to core

parent 8c4591e2
No related branches found
No related tags found
3 merge requests!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #491318 passed
Pipeline: drupal

#491319

    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')
    }
    }
    })
    ...@@ -791,18 +791,6 @@ htmx: ...@@ -791,18 +791,6 @@ htmx:
    js: js:
    assets/vendor/htmx/htmx.min.js: { minified: true } 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: internal.floating-ui:
    remote: https://github.com/floating-ui/floating-ui remote: https://github.com/floating-ui/floating-ui
    version: "1.6.12" version: "1.6.12"
    ......
    ...@@ -81,11 +81,11 @@ const assetsFolder = `${coreFolder}/assets/vendor`; ...@@ -81,11 +81,11 @@ const assetsFolder = `${coreFolder}/assets/vendor`;
    }, },
    { {
    pack: 'htmx.org', pack: 'htmx.org',
    folder: 'htmx',
    library: 'htmx', library: 'htmx',
    files: [ files: [
    { from: 'dist/htmx.min.js', to: 'htmx.min.js' }, { from: 'dist/htmx.min.js', to: 'htmx.min.js' },
    { from: 'dist/htmx.js', to: 'htmx.js' }, { from: 'dist/htmx.js', to: 'htmx.js' },
    { from: 'dist/ext/debug.js', to: 'debug.js' },
    ], ],
    }, },
    { {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment