@tweenjs/tween.js
Advanced tools
Comparing version 16.11.0 to 17.1.0
{ | ||
"name": "@tweenjs/tween.js", | ||
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.", | ||
"version": "16.11.0", | ||
"version": "17.1.0", | ||
"main": "src/Tween.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/tweenjs/tween.js", |
@@ -175,3 +175,3 @@ /** | ||
this._startTime = time !== undefined ? time : TWEEN.now(); | ||
this._startTime = time !== undefined ? typeof time === 'string' ? TWEEN.now() + parseFloat(time) : time : TWEEN.now(); | ||
this._startTime += this._delayTime; | ||
@@ -224,3 +224,3 @@ | ||
if (this._onStopCallback !== null) { | ||
this._onStopCallback.call(this._object, this._object); | ||
this._onStopCallback(this._object); | ||
} | ||
@@ -338,3 +338,3 @@ | ||
if (this._onStartCallback !== null) { | ||
this._onStartCallback.call(this._object, this._object); | ||
this._onStartCallback(this._object); | ||
} | ||
@@ -386,3 +386,3 @@ | ||
if (this._onUpdateCallback !== null) { | ||
this._onUpdateCallback.call(this._object, value); | ||
this._onUpdateCallback(this._object); | ||
} | ||
@@ -432,3 +432,3 @@ | ||
this._onCompleteCallback.call(this._object, this._object); | ||
this._onCompleteCallback(this._object); | ||
} | ||
@@ -435,0 +435,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
35026
13
604