tween-functions
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -7,2 +7,5 @@ Legend: | ||
### 1.2.0 (November 20th 2015) | ||
- [F] Fix return value of `easeInOutExpo`, `easeInElastic`, `easeOutElastic` and `easeInOutElastic`. 20b7790 | ||
### 1.1.0 (October 16th 2015) | ||
@@ -9,0 +12,0 @@ - [F] Fix `easeInExpo` and `easeOutExpo`. #2 |
16
index.js
@@ -96,6 +96,6 @@ 'use strict'; | ||
if (t === 0) { | ||
b; | ||
return b; | ||
} | ||
if (t === d) { | ||
b + c; | ||
return b + c; | ||
} | ||
@@ -131,5 +131,5 @@ if ((t /= d / 2) < 1) { | ||
if (t === 0) { | ||
b; | ||
return b; | ||
} else if ((t /= d) === 1) { | ||
b + c; | ||
return b + c; | ||
} | ||
@@ -154,5 +154,5 @@ if (!p) { | ||
if (t === 0) { | ||
b; | ||
return b; | ||
} else if ((t /= d) === 1) { | ||
b + c; | ||
return b + c; | ||
} | ||
@@ -177,5 +177,5 @@ if (!p) { | ||
if (t === 0) { | ||
b; | ||
return b; | ||
} else if ((t /= d / 2) === 2) { | ||
b + c; | ||
return b + c; | ||
} | ||
@@ -182,0 +182,0 @@ if (!p) { |
{ | ||
"name": "tween-functions", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Robert Penner's easing functions, slightly modified", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ # Tween-functions | ||
var tweenFunctions = require('tween-functions'); | ||
tweenFunctions.easeInQuad(1, 0, 50, 5) // => 4 | ||
tweenFunctions.easeInQuad(1, 0, 50, 5); // => 4 | ||
``` | ||
@@ -18,0 +18,0 @@ |
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
9961