update to v2.2.1

fix type issues with root object wrapping node or querySelector
fix incorrect import in demo
fix unused options in vite.config.js
add (some) tests - more to come!
This commit is contained in:
2025-09-13 03:05:49 -04:00
parent c9de0883eb
commit af2e0d2eec
14 changed files with 519 additions and 31 deletions

View File

@@ -72,7 +72,7 @@
.t(
`
\<script type="module">
import $d from "/fluent-dom-esm.ts";
import $d from "/fluent-dom-esm.js";
// Create new objects in memory with a simple, chainable interface
const $article = $d
@@ -149,7 +149,7 @@
(val) => `<span class="code-str">${val}</span>`,
)
.replace(/\.\w+/g, (val) =>
val !== ".ts"
val !== ".js"
? `<span class="code-func">${val}</span>`
: val,
)