vanilla-back-to-top
Advanced tools
Comparing version 5.0.3 to 5.0.4
{ | ||
"name": "vanilla-back-to-top", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Tiny and configurable Back To Top button with no dependencies", | ||
@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.umd.js", |
@@ -10,3 +10,3 @@ # Vanilla Back To Top | ||
Works great **with** frameworks - [React](https://reactjs.org/), [Angular](https://angular.io/), [Vue](https://vuejs.org/) etc, and **without** them, e.g., on pre-rendered static websites like [Jekyll](https://jekyllrb.com), [Hugo](http://gohugo.io/) or [Hexo](https://hexo.io/) | ||
Works universally great **with** frameworks - [React](https://reactjs.org/), [Angular](https://angular.io/), [Vue](https://vuejs.org/) etc, and **without** them, e.g., on pre-rendered static websites like [Jekyll](https://jekyllrb.com), [Hugo](http://gohugo.io/) or [Hexo](https://hexo.io/) | ||
@@ -25,7 +25,7 @@ <img src="https://i.pi.gy/Vab3n.gif" width="300px"/> | ||
```html | ||
<script src="https://unpkg.com/vanilla-back-to-top@5.0.3/dist/vanilla-back-to-top.min.js"></script> | ||
<script src="https://unpkg.com/vanilla-back-to-top@5.0.4/dist/vanilla-back-to-top.min.js"></script> | ||
<script>addBackToTop()</script> | ||
``` | ||
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://unpkg.com/vanilla-back-to-top@5.0.3/dist/vanilla-back-to-top.min.js) to your project and serve it from your server: | ||
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://unpkg.com/vanilla-back-to-top@5.0.4/dist/vanilla-back-to-top.min.js) to your project and serve it from your server: | ||
```html | ||
@@ -32,0 +32,0 @@ <script src="/assets/vanilla-back-to-top.min.js.gz"></script> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15961