@tweenjs/tween.js
Advanced tools
Comparing version 18.1.2 to 18.2.0
@@ -57,6 +57,7 @@ define(function () { 'use strict'; | ||
// Tweens are updated in "batches". If you add a new tween during an update, then the | ||
// new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. However, | ||
// if the removed tween was added during the current batch, then it will not be updated. | ||
// Tweens are updated in "batches". If you add a new tween during an | ||
// update, then the new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. | ||
// However, if the removed tween was added during the current batch, | ||
// then it will not be updated. | ||
while (tweenIds.length > 0) { | ||
@@ -209,4 +210,6 @@ this._tweensAddedDuringUpdate = {}; | ||
// Save the starting value. | ||
this._valuesStart[property] = this._object[property]; | ||
// Save the starting value, but only once. | ||
if (typeof(this._valuesStart[property]) === 'undefined') { | ||
this._valuesStart[property] = this._object[property]; | ||
} | ||
@@ -213,0 +216,0 @@ if ((this._valuesStart[property] instanceof Array) === false) { |
@@ -57,6 +57,7 @@ 'use strict'; | ||
// Tweens are updated in "batches". If you add a new tween during an update, then the | ||
// new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. However, | ||
// if the removed tween was added during the current batch, then it will not be updated. | ||
// Tweens are updated in "batches". If you add a new tween during an | ||
// update, then the new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. | ||
// However, if the removed tween was added during the current batch, | ||
// then it will not be updated. | ||
while (tweenIds.length > 0) { | ||
@@ -209,4 +210,6 @@ this._tweensAddedDuringUpdate = {}; | ||
// Save the starting value. | ||
this._valuesStart[property] = this._object[property]; | ||
// Save the starting value, but only once. | ||
if (typeof(this._valuesStart[property]) === 'undefined') { | ||
this._valuesStart[property] = this._object[property]; | ||
} | ||
@@ -213,0 +216,0 @@ if ((this._valuesStart[property] instanceof Array) === false) { |
@@ -55,6 +55,7 @@ /** | ||
// Tweens are updated in "batches". If you add a new tween during an update, then the | ||
// new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. However, | ||
// if the removed tween was added during the current batch, then it will not be updated. | ||
// Tweens are updated in "batches". If you add a new tween during an | ||
// update, then the new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. | ||
// However, if the removed tween was added during the current batch, | ||
// then it will not be updated. | ||
while (tweenIds.length > 0) { | ||
@@ -207,4 +208,6 @@ this._tweensAddedDuringUpdate = {}; | ||
// Save the starting value. | ||
this._valuesStart[property] = this._object[property]; | ||
// Save the starting value, but only once. | ||
if (typeof(this._valuesStart[property]) === 'undefined') { | ||
this._valuesStart[property] = this._object[property]; | ||
} | ||
@@ -211,0 +214,0 @@ if ((this._valuesStart[property] instanceof Array) === false) { |
@@ -61,6 +61,7 @@ (function (global, factory) { | ||
// Tweens are updated in "batches". If you add a new tween during an update, then the | ||
// new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. However, | ||
// if the removed tween was added during the current batch, then it will not be updated. | ||
// Tweens are updated in "batches". If you add a new tween during an | ||
// update, then the new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. | ||
// However, if the removed tween was added during the current batch, | ||
// then it will not be updated. | ||
while (tweenIds.length > 0) { | ||
@@ -213,4 +214,6 @@ this._tweensAddedDuringUpdate = {}; | ||
// Save the starting value. | ||
this._valuesStart[property] = this._object[property]; | ||
// Save the starting value, but only once. | ||
if (typeof(this._valuesStart[property]) === 'undefined') { | ||
this._valuesStart[property] = this._object[property]; | ||
} | ||
@@ -217,0 +220,0 @@ if ((this._valuesStart[property] instanceof Array) === false) { |
{ | ||
"name": "@tweenjs/tween.js", | ||
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.", | ||
"version": "18.1.2", | ||
"version": "18.2.0", | ||
"main": "dist/tween.cjs.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/tween.esm.js", |
@@ -55,6 +55,7 @@ /** | ||
// Tweens are updated in "batches". If you add a new tween during an update, then the | ||
// new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. However, | ||
// if the removed tween was added during the current batch, then it will not be updated. | ||
// Tweens are updated in "batches". If you add a new tween during an | ||
// update, then the new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it may or may not be updated. | ||
// However, if the removed tween was added during the current batch, | ||
// then it will not be updated. | ||
while (tweenIds.length > 0) { | ||
@@ -207,4 +208,6 @@ this._tweensAddedDuringUpdate = {}; | ||
// Save the starting value. | ||
this._valuesStart[property] = this._object[property]; | ||
// Save the starting value, but only once. | ||
if (typeof(this._valuesStart[property]) === 'undefined') { | ||
this._valuesStart[property] = this._object[property]; | ||
} | ||
@@ -211,0 +214,0 @@ if ((this._valuesStart[property] instanceof Array) === false) { |
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
105081
3027