Skip to content

Commit 9abcd0e

Browse files
author
David Sancho
committed
Update README.md
1 parent 348067f commit 9abcd0e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![npm](https://img.shields.io/npm/dm/localeval.svg)](https://www.npmjs.com/package/scrollto-with-animation)
44

5-
- Only **one dependency** *(for the [polyfill](https://www.npmjs.com/package/animation-frame))*
6-
- **Cross-browser**
5+
- Only **one dependency** *(for the [polyfill](https://www.npmjs.com/package/animation-frame))* for **rAF cross-browser**
76
- **60 FPS** Animation
87
- If user scrolls while animation is running, scroll animation would be immediately canceled
9-
- Available adding **script or browserify**
8+
- Available adding **script or module**
109

1110
#### [Live demo](https://davesnx.github.io/scrollto-with-animation/docs/demo/index.html)
1211

@@ -18,15 +17,15 @@ npm install scrollto-with-animation --save
1817

1918
## Usage
2019

21-
### Available with browserify
20+
### Available as a module
2221

2322
```javascript
2423
var scrollToWithAnimation = require('scrollto-with-animation')
2524
// or ES2015
2625
import scrollToWithAnimation from 'scrollto-with-animation'
2726
```
2827

29-
### or available as a script
28+
### or as a script
3029

3130
```html
3231
<script src="scrollToWithAnimation.min.js"></script>

0 commit comments

Comments
 (0)