nuka-carousel
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "nuka-carousel", | ||
"main": "index.js", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"homepage": "https://github.com/kenwheeler/nuka-carousel", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -396,3 +396,5 @@ 'use strict'; | ||
frame; | ||
frame = _React2['default'].findDOMNode(this.refs.frame); | ||
if (typeof this.props.slideWidth !== 'number') { | ||
@@ -403,2 +405,5 @@ slideWidth = parseInt(this.props.slideWidth); | ||
} | ||
slideWidth -= this.props.cellSpacing * ((100 - 100 / this.props.slidesToShow) / 100); | ||
this.setState({ | ||
@@ -405,0 +410,0 @@ frameWidth: frame.offsetWidth, |
{ | ||
"name": "nuka-carousel", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Pure React Carousel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -379,3 +379,5 @@ 'use strict'; | ||
var self = this, slideWidth, frame; | ||
frame = React.findDOMNode(this.refs.frame); | ||
if (typeof this.props.slideWidth !== 'number') { | ||
@@ -386,2 +388,5 @@ slideWidth = parseInt(this.props.slideWidth); | ||
} | ||
slideWidth -= this.props.cellSpacing * ((100 - (100 / this.props.slidesToShow)) / 100); | ||
this.setState({ | ||
@@ -388,0 +393,0 @@ frameWidth: frame.offsetWidth, |
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
53243
1458