@tweenjs/tween.js
Advanced tools
Comparing version 17.3.2 to 17.3.5
{ | ||
"name": "@tweenjs/tween.js", | ||
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.", | ||
"version": "17.3.2", | ||
"version": "17.3.5", | ||
"main": "src/Tween.js", | ||
@@ -25,3 +25,3 @@ "homepage": "https://github.com/tweenjs/tween.js", | ||
"test-style": "jscs --config test/jscs.json src/Tween.js", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
"semantic-release": "semantic-release" | ||
}, | ||
@@ -33,4 +33,4 @@ "author": "tween.js contributors (https://github.com/tweenjs/tween.js/graphs/contributors)", | ||
"nodeunit": "^0.9.5", | ||
"semantic-release": "^6.3.2" | ||
"semantic-release": "^15.13.12" | ||
} | ||
} |
@@ -149,11 +149,11 @@ /** | ||
TWEEN.Tween.prototype = { | ||
getId: function getId() { | ||
getId: function () { | ||
return this._id; | ||
}, | ||
isPlaying: function isPlaying() { | ||
isPlaying: function () { | ||
return this._isPlaying; | ||
}, | ||
to: function to(properties, duration) { | ||
to: function (properties, duration) { | ||
@@ -170,4 +170,9 @@ this._valuesEnd = Object.create(properties); | ||
start: function start(time) { | ||
duration: function duration(d) { | ||
this._duration = d; | ||
return this; | ||
}, | ||
start: function (time) { | ||
this._group.add(this); | ||
@@ -217,3 +222,3 @@ | ||
stop: function stop() { | ||
stop: function () { | ||
@@ -236,3 +241,3 @@ if (!this._isPlaying) { | ||
end: function end() { | ||
end: function () { | ||
@@ -244,3 +249,3 @@ this.update(Infinity); | ||
stopChainedTweens: function stopChainedTweens() { | ||
stopChainedTweens: function () { | ||
@@ -253,3 +258,3 @@ for (var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i++) { | ||
group: function group(group) { | ||
group: function (group) { | ||
this._group = group; | ||
@@ -259,3 +264,3 @@ return this; | ||
delay: function delay(amount) { | ||
delay: function (amount) { | ||
@@ -267,3 +272,3 @@ this._delayTime = amount; | ||
repeat: function repeat(times) { | ||
repeat: function (times) { | ||
@@ -275,3 +280,3 @@ this._repeat = times; | ||
repeatDelay: function repeatDelay(amount) { | ||
repeatDelay: function (amount) { | ||
@@ -283,5 +288,5 @@ this._repeatDelayTime = amount; | ||
yoyo: function yoyo(yy) { | ||
yoyo: function (yoyo) { | ||
this._yoyo = yy; | ||
this._yoyo = yoyo; | ||
return this; | ||
@@ -291,5 +296,5 @@ | ||
easing: function easing(eas) { | ||
easing: function (easingFunction) { | ||
this._easingFunction = eas; | ||
this._easingFunction = easingFunction; | ||
return this; | ||
@@ -299,5 +304,5 @@ | ||
interpolation: function interpolation(inter) { | ||
interpolation: function (interpolationFunction) { | ||
this._interpolationFunction = inter; | ||
this._interpolationFunction = interpolationFunction; | ||
return this; | ||
@@ -307,3 +312,3 @@ | ||
chain: function chain() { | ||
chain: function () { | ||
@@ -315,3 +320,3 @@ this._chainedTweens = arguments; | ||
onStart: function onStart(callback) { | ||
onStart: function (callback) { | ||
@@ -323,3 +328,3 @@ this._onStartCallback = callback; | ||
onUpdate: function onUpdate(callback) { | ||
onUpdate: function (callback) { | ||
@@ -331,3 +336,3 @@ this._onUpdateCallback = callback; | ||
onComplete: function onComplete(callback) { | ||
onComplete: function (callback) { | ||
@@ -339,3 +344,3 @@ this._onCompleteCallback = callback; | ||
onStop: function onStop(callback) { | ||
onStop: function (callback) { | ||
@@ -347,3 +352,3 @@ this._onStopCallback = callback; | ||
update: function update(time) { | ||
update: function (time) { | ||
@@ -350,0 +355,0 @@ var property; |
Sorry, the diff of this file is not supported yet
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
628
45531