Skip to content

Commit 799b508

Browse files
committed
admin:
adjust README, package.json.
1 parent d6ed51d commit 799b508

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Add effect according to scroll.
1010

1111
## Demo
1212

13-
- Document [https://yama-dev.github.io/js-scroll-effect-module/](https://yama-dev.github.io/js-scroll-effect-module/)
14-
- SamplePage[https://yama-dev.github.io/js-scroll-effect-module/sample/](https://yama-dev.github.io/js-scroll-effect-module/sample/)
13+
- Document -> [https://yama-dev.github.io/js-scroll-effect-module/](https://yama-dev.github.io/js-scroll-effect-module/)
14+
- SamplePage -> [https://yama-dev.github.io/js-scroll-effect-module/sample/](https://yama-dev.github.io/js-scroll-effect-module/sample/)
1515

1616
<br>
1717

@@ -34,18 +34,17 @@ Add effect according to scroll.
3434
npm install --save-dev js-scroll-effect-module
3535
```
3636

37-
``` javascript.
37+
``` javascript
3838
// import.
3939
import SCROLL_EFFECT_MODULE from 'js-scroll-effect-module';
4040
```
4141

4242
### Basic Standalone Usage
4343

4444
``` html
45+
<link rel="stylesheet" href="./scroll-effect-module.css">
4546
<script src="./js-scroll-effect-module"></script>
46-
<script>
47-
var ScrollEffectModule = new SCROLL_EFFECT_MODULE({ elem : '.effect_item' });
48-
</script>
47+
<script> new SCROLL_EFFECT_MODULE({ elem : '.effect_item' }); </script>
4948
```
5049

5150
<br>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-scroll-effect-module",
33
"version": "0.1.2",
4-
"description": "Add effect according to scroll.",
4+
"description": "Add effect at scroll.",
55
"keywords": [
66
"scroll",
77
"scroll effect",

0 commit comments

Comments
 (0)