carouselbox
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -72,2 +72,3 @@ 'use strict'; | ||
this.reactCarousel = new _flickity2.default(carousel, this.props.options); | ||
this.flkty.on('cellSelect', this.updateSelected); | ||
} | ||
@@ -77,2 +78,3 @@ }, { | ||
value: function componentWillUnmount() { | ||
this.flkty.off('cellSelect', this.updateSelected); | ||
this.reactCarousel.destroy(); | ||
@@ -79,0 +81,0 @@ } |
{ | ||
"name": "carouselbox", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "React Carousel Plugin based from Flickity", | ||
@@ -29,5 +29,4 @@ "main": "./lib/index.js", | ||
"peerDependencies": { | ||
"react": "0.14.7", | ||
"react-dom": "0.14.7" | ||
"react": "0.13.3" | ||
} | ||
} |
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
8209
3
78