From c9de0883ebb581fc746d3e062f1e44355cd9e8a1 Mon Sep 17 00:00:00 2001 From: Eric Woodward Date: Sat, 13 Sep 2025 01:55:41 -0400 Subject: [PATCH] update to v2.2.0 add library version getter fix demo issues --- README.md | 6 ++- dist/demo.html | 70 +++++++++++++++++++++++++--------- dist/fluent-dom-esm.js | 16 +++++--- dist/fluent-dom-esm.types.d.ts | 6 ++- index.html | 4 +- jsr.json | 2 +- package.json | 2 +- public/demo.html | 70 +++++++++++++++++++++++++--------- src/fluent-dom-esm.ts | 24 +++++++++--- src/fluent-dom-esm.types.ts | 9 +++-- 10 files changed, 151 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index 72be222..665bfee 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,11 @@ If everything goes as expected, you should have a newly built `fluent-dom-esm.js ## Examples -All assume that `$d` is the default function from `fluent-dom-esm` (`import $d from './fluent-dom-esm.js'`); +All assume that `$d` is the default function from `fluent-dom-esm`: + +``` +import $d from "@itsericwoodward/fluent-dom-esm"; +``` - For more examples, see the `demo.html` file in the `dist` folder. diff --git a/dist/demo.html b/dist/demo.html index 9634ab1..1afadbb 100644 --- a/dist/demo.html +++ b/dist/demo.html @@ -11,21 +11,27 @@