mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix linting errors
This commit is contained in:
parent
684f504930
commit
e52a33b9cb
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ var Tween = Base.extend(Emitter, /** @lends Tween# */{
|
||||||
*/
|
*/
|
||||||
initialize: function Tween(item, from, to, duration, easing, start) {
|
initialize: function Tween(item, from, to, duration, easing, start) {
|
||||||
this.item = item;
|
this.item = item;
|
||||||
var type = typeof easing
|
var type = typeof easing;
|
||||||
var isFunction = type === 'function';
|
var isFunction = type === 'function';
|
||||||
this.type = isFunction
|
this.type = isFunction
|
||||||
? type
|
? type
|
||||||
|
@ -229,7 +229,7 @@ var Tween = Base.extend(Emitter, /** @lends Tween# */{
|
||||||
this._setItemProperty(path, resolved);
|
this._setItemProperty(path, resolved);
|
||||||
value = this._getItemProperty(path);
|
value = this._getItemProperty(path);
|
||||||
// Clone the value if possible to prevent future changes.
|
// Clone the value if possible to prevent future changes.
|
||||||
value = value.clone ? value.clone() : value
|
value = value.clone ? value.clone() : value;
|
||||||
this._setItemProperty(path, current);
|
this._setItemProperty(path, current);
|
||||||
} else {
|
} else {
|
||||||
// We want to get the current state at the time of the call, so
|
// We want to get the current state at the time of the call, so
|
||||||
|
|
Loading…
Reference in a new issue