Skip to content

Commit

Permalink
Merge pull request #30 from swup/feat/typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Oct 31, 2023
2 parents 802b8b7 + 8f8486a commit b5fd3ef
Show file tree
Hide file tree
Showing 6 changed files with 4,705 additions and 1,713 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

<!-- ## [Unreleased] -->
## [2.1.0] - 2023-10-31

- Port to TypeScript

## [2.0.0] - 2023-07-26

Expand All @@ -16,8 +18,7 @@

- Initial release

[Unreleased]: https://github.com/swup/scripts-plugin/compare/2.0.0...HEAD

[2.1.0]: https://github.com/swup/scripts-plugin/releases/tag/2.1.0
[2.0.0]: https://github.com/swup/scripts-plugin/releases/tag/2.0.0
[1.1.0]: https://github.com/swup/scripts-plugin/releases/tag/1.1.0
[1.0.0]: https://github.com/swup/scripts-plugin/releases/tag/1.0.0
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ helpful if you don't have full control over the scripts included on your website
Ignores any script tags with the attribute `[data-swup-ignore-script]`. This attribute **must be**
on the script tag that initializes swup itself to prevent creating multiple swup instances.

**🚨 Warning:** Use this plugin as a last resort for projects with limited control over the included
scripts. Running scripts without destroying previous ones can cause memory leaks and potentially
break your page.
> **🚨 Warning:** Use this plugin as a last resort for projects with limited control over the included scripts. Running scripts without destroying previous ones can cause memory leaks and potentially break your page.
## Installation

Expand Down
Loading

0 comments on commit b5fd3ef

Please sign in to comment.