react-simple-animate
Advanced tools
Comparing version 1.0.3 to 1.0.6
@@ -44,3 +44,3 @@ 'use strict'; | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Animate.__proto__ || Object.getPrototypeOf(Animate)).call.apply(_ref, [this].concat(args))), _this), _this.state = defaultState, _this.animationTimeout = null, _this.setAnimationDelay = function (condition, stateName, duration) { | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Animate.__proto__ || Object.getPrototypeOf(Animate)).call.apply(_ref, [this].concat(args))), _this), _this.state = defaultState, _this.animationTimeout = null, _this.setAnimationDelay = function (condition, stateName, durationSeconds) { | ||
if (!condition) return; | ||
@@ -50,6 +50,5 @@ clearTimeout(_this.animationTimeout); | ||
_this.setState(_defineProperty({}, stateName, true)); | ||
}, duration * 1000); | ||
}, durationSeconds * 1000); | ||
}, _temp), _possibleConstructorReturn(_this, _ret); | ||
} | ||
// props: Props; | ||
@@ -56,0 +55,0 @@ _createClass(Animate, [{ |
{ | ||
"name": "react-simple-animate", | ||
"version": "1.0.3", | ||
"version": "1.0.6", | ||
"description": "react simple animate", | ||
@@ -12,3 +12,3 @@ "main": "lib/animate.js", | ||
"build": "babel src/ -d lib/", | ||
"prepublish": "yarn test && yarn run clean && yarn build", | ||
"prepublish": "yarn test && yarn flow && yarn run clean && yarn build", | ||
"flow": "flow" | ||
@@ -15,0 +15,0 @@ }, |
@@ -19,7 +19,7 @@ # React Simple Animate | ||
Navgiate into `example` folder and install | ||
Navigate into `example` folder and install | ||
$ yarn | ||
$ yarn && yarn start | ||
or | ||
$ npm install | ||
$ npm install && npm start | ||
@@ -26,0 +26,0 @@ <img src="https://github.com/bluebill1049/react-simple-animate/blob/master/example/screenShot.png" alt="Sceen" width="400"/> |
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
20353
113