Skip to content

Commit

Permalink
Fixes #682
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 22, 2025
1 parent 0c085c3 commit cb6dcba
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 37 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Each tagged version of Datastar is accompanied by a release note. Read the [rele

- Fixed a bug in which `datastar-remove-fragments` events were not having any effect ([#664](https://github.com/starfederation/datastar/issues/664)).
- Fixed a bug in which `datastarNaN` could be used as an auto-generated element ID ([#679](https://github.com/starfederation/datastar/issues/679)).
- Fixed a bug in which plugins were being applied to the DOM twice on page load.
- Fixed a bug in which the expression passed into `data-on-signals-change` was being called each time the attribute was evaluated ([#682](https://github.com/starfederation/datastar/issues/682)).
20 changes: 10 additions & 10 deletions bundles/datastar-aliased.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions bundles/datastar-aliased.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions bundles/datastar-core.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions bundles/datastar-core.js.map

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions bundles/datastar.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions bundles/datastar.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion library/src/plugins/official/dom/attributes/on.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export const On: AttributePlugin = {

if (key.startsWith(SIGNALS_CHANGE_PREFIX)) {
if (key === SIGNALS_CHANGE_PREFIX) {
callback()
const signalFn = (event: CustomEvent<DatastarSignalEvent>) =>
callback(event)
document.addEventListener(DATASTAR_SIGNAL_EVENT, signalFn)
Expand Down
4 changes: 2 additions & 2 deletions sdk/go/consts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb6dcba

Please sign in to comment.