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
Loading
Loading
Loading
Loading
Loading

core/assets/vendor/htmx/debug.js

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
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')
    }
  }
})
+0 −12
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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' },
      ],
    },
    {