bigskysoftware / htmx-extensions

159 stars 46 forks source link

head-support.js comment claims it's an htmx 1.0 extension #46

Closed scrhartley closed 2 months ago

scrhartley commented 2 months ago

The extensions site says it's for htmx 2.0 extensions and links to this repo, but the comment at the top for the extension's source says it's for version 1.0 of htmx.

See: https://github.com/bigskysoftware/htmx-extensions/blob/main/src/head-support/head-support.js

Comment at top of file:

//==========================================================
// head-support.js
//
// An extension to htmx 1.0 to add head tag merging.
//==========================================================
Telroshan commented 2 months ago

Hey, good catch, this was likely an oversight, or a residue of the time when we thought head-support would be embedded in htmx2, which eventually didn't happen.

All extensions on this repo are for htmx 2, feel free to open a PR to remove that version number mention!

Telroshan commented 2 months ago

Fixed in #47