@tweenjs/tween.js
Advanced tools
Comparing version 17.3.5 to 17.4.0
{ | ||
"name": "@tweenjs/tween.js", | ||
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.", | ||
"version": "17.3.5", | ||
"version": "17.4.0", | ||
"main": "src/Tween.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/tweenjs/tween.js", |
@@ -141,2 +141,3 @@ /** | ||
this._onUpdateCallback = null; | ||
this._onRepeatCallback = null; | ||
this._onCompleteCallback = null; | ||
@@ -322,2 +323,9 @@ this._onStopCallback = null; | ||
onRepeat: function onRepeat(callback) { | ||
this._onRepeatCallback = callback; | ||
return this; | ||
}, | ||
onComplete: function (callback) { | ||
@@ -397,3 +405,3 @@ | ||
if (this._onUpdateCallback !== null) { | ||
this._onUpdateCallback(this._object); | ||
this._onUpdateCallback(this._object, elapsed); | ||
} | ||
@@ -437,2 +445,6 @@ | ||
if (this._onRepeatCallback !== null) { | ||
this._onRepeatCallback(this._object); | ||
} | ||
return true; | ||
@@ -439,0 +451,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
474526
12355
9
1