Skip to content

Commit

Permalink
Update README to specify library weight + Add CDN link to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arnvvd committed May 18, 2023
1 parent 5ef2766 commit 662072c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Read the [documentation](https://scroll.locomotive.ca/docs) for more details.
| Built-in viewport detection || Using browsers's native Intersection Observer API |
| Real time progress value || For flexible scroll-based animation |
| Accessibly and performance || More than ever! |
| Lightweight || 7.9KB (gzip) |
| Lightweight || [8.3KB (gzip)](https://bundlephobia.com/package/[email protected]) |

## Dependencies

Expand Down
2 changes: 1 addition & 1 deletion www/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See the [Quick start](quickstart.md) guide for more details.
| Built-in viewport detection || Using browsers's native Intersection Observer API |
| Real time progress value || For flexible scroll-based animation |
| Accessibly and performance || More than ever! |
| Lightweight || 7.9KB (gzip) |
| Lightweight || [8.3KB (gzip)](https://bundlephobia.com/package/[email protected]) |

## Examples

Expand Down
2 changes: 1 addition & 1 deletion www/docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const locomotiveScroll = new LocomotiveScroll();
Or without

```js
<script src="locomotive-scroll.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/locomotive-scroll.min.js"></script>
<script>
(function () {
const locomotiveScroll = new LocomotiveScroll();
Expand Down

0 comments on commit 662072c

Please sign in to comment.