Skip to content

Commit 279549a

Browse files
authored
Merge pull request #22 from yama-dev/v0.11.1
V0.11.1
2 parents 23cfd4d + 50e1750 commit 279549a

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SCROLL EFFECT MODULE
22

3-
[![](https://img.shields.io/github/repo-size/yama-dev/js-scroll-effect-module.svg)](https://github.com/yama-dev/js-scroll-effect-module/releases/latest)
43
[![](https://img.shields.io/github/release/yama-dev/js-scroll-effect-module.svg)](https://github.com/yama-dev/js-scroll-effect-module/releases/latest)
5-
[![GitHub](https://img.shields.io/github/license/yama-dev/js-scroll-effect-module.svg)](https://github.com/yama-dev/js-scroll-effect-module/blob/master/LICENSE)
64

75
<br>
86

@@ -14,17 +12,15 @@ Add effect according to scroll.
1412

1513
## Demo
1614

17-
- Document -> [https://yama-dev.github.io/js-scroll-effect-module/](https://yama-dev.github.io/js-scroll-effect-module/)
18-
- ExamplePage -> [https://yama-dev.github.io/js-scroll-effect-module/examples/](https://yama-dev.github.io/js-scroll-effect-module/examples/)
19-
- ExamplePage(Acceleration) -> [https://yama-dev.github.io/js-scroll-effect-module/examples/](https://yama-dev.github.io/js-scroll-effect-module/examples/acceleration.html)
15+
- Document -> [https://yama-dev.github.io/js-scroll-effect-module-docs/](https://yama-dev.github.io/js-scroll-effect-module-docs/)
2016

2117
<br>
2218

2319
## Installation,Download
2420

2521
- npm -> [https://www.npmjs.com/package/js-scroll-effect-module](https://www.npmjs.com/package/js-scroll-effect-module)
2622

27-
- Standalone(CDN) -> [https://cdn.jsdelivr.net/gh/yama-dev/js-scroll-effect-module@v0.10.1/dist/js-scroll-effect-module.js](https://cdn.jsdelivr.net/gh/yama-dev/js-scroll-effect-module@v0.10.1/dist/js-scroll-effect-module.js)
23+
- Standalone(CDN) -> [https://cdn.jsdelivr.net/gh/yama-dev/js-scroll-effect-module@v0.11.1/dist/js-scroll-effect-module.js](https://cdn.jsdelivr.net/gh/yama-dev/js-scroll-effect-module@v0.11.1/dist/js-scroll-effect-module.js)
2824

2925
- Zip -> [yama-dev/js-scroll-effect-module](https://github.com/yama-dev/js-scroll-effect-module/releases/latest)
3026

dist/js-scroll-effect-module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-scroll-effect-module",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"description": "Add effect at scroll.",
55
"keywords": [
66
"scroll",

src/js-scroll-effect-module.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ export default class SCROLL_EFFECT_MODULE {
311311

312312
_actionChange(){
313313

314+
if(!this.state.PosList.length) return false;
315+
314316
this.state.PosListFix.map((el)=>{
315317
if(!DOM.hasClass(this.$elemItem[el.index], this.config.addClassNameActive)){
316318
el.count++;

0 commit comments

Comments
 (0)