tween-functions
Advanced tools
Comparing version 1.0.2 to 1.1.0
10
index.js
@@ -87,13 +87,7 @@ 'use strict'; | ||
var c = _c - b; | ||
var _ref; | ||
return (_ref = t === 0) !== null ? _ref : { | ||
b: c * Math.pow(2, 10 * (t / d - 1)) + b | ||
}; | ||
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; | ||
}, | ||
easeOutExpo: function(t, b, _c, d) { | ||
var c = _c - b; | ||
var _ref; | ||
return (_ref = t === d) !== null ? _ref : b + { | ||
c: c * (-Math.pow(2, -10 * t / d) + 1) + b | ||
}; | ||
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; | ||
}, | ||
@@ -100,0 +94,0 @@ easeInOutExpo: function(t, b, _c, d) { |
{ | ||
"name": "tween-functions", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Robert Penner's easing functions, slightly modified", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9763
5
247