Skip to content

Commit

Permalink
v18.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Oct 22, 2020
1 parent d76b774 commit 352da17
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 31 deletions.
9 changes: 4 additions & 5 deletions dist/tween.amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,10 +746,9 @@ define(['exports'], function (exports) { 'use strict';
};
Tween.prototype._swapEndStartRepeatValues = function (property) {
var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}
else {
this._valuesStartRepeat[property] = this._valuesEnd[property];
Expand All @@ -759,7 +758,7 @@ define(['exports'], function (exports) { 'use strict';
return Tween;
}());

var VERSION = '18.6.3';
var VERSION = '18.6.4';

/**
* Tween.js - Licensed under the MIT license
Expand Down
9 changes: 4 additions & 5 deletions dist/tween.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -748,10 +748,9 @@ var Tween = /** @class */ (function () {
};
Tween.prototype._swapEndStartRepeatValues = function (property) {
var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}
else {
this._valuesStartRepeat[property] = this._valuesEnd[property];
Expand All @@ -761,7 +760,7 @@ var Tween = /** @class */ (function () {
return Tween;
}());

var VERSION = '18.6.3';
var VERSION = '18.6.4';

/**
* Tween.js - Licensed under the MIT license
Expand Down
16 changes: 8 additions & 8 deletions dist/tween.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ declare class Tween<T extends UnknownProps> {
private _handleRelativeValue;
private _swapEndStartRepeatValues;
}
declare type UnknownProps = Record<string, unknown>;
declare type UnknownProps = Record<string, any>;

/**
* Controlling groups of tweens
Expand Down Expand Up @@ -170,13 +170,13 @@ declare class Sequence {
static nextId(): number;
}

declare const VERSION = "18.6.3";
declare const VERSION = "18.6.4";

declare const nextId: typeof Sequence.nextId;
declare const getAll: () => Tween<Record<string, unknown>>[];
declare const getAll: () => Tween<Record<string, any>>[];
declare const removeAll: () => void;
declare const add: (tween: Tween<Record<string, unknown>>) => void;
declare const remove: (tween: Tween<Record<string, unknown>>) => void;
declare const add: (tween: Tween<Record<string, any>>) => void;
declare const remove: (tween: Tween<Record<string, any>>) => void;
declare const update: (time?: number, preserve?: boolean) => boolean;
declare const exports: {
Easing: {
Expand Down Expand Up @@ -251,10 +251,10 @@ declare const exports: {
nextId: typeof Sequence.nextId;
Tween: typeof Tween;
VERSION: string;
getAll: () => Tween<Record<string, unknown>>[];
getAll: () => Tween<Record<string, any>>[];
removeAll: () => void;
add: (tween: Tween<Record<string, unknown>>) => void;
remove: (tween: Tween<Record<string, unknown>>) => void;
add: (tween: Tween<Record<string, any>>) => void;
remove: (tween: Tween<Record<string, any>>) => void;
update: (time?: number, preserve?: boolean) => boolean;
};

Expand Down
9 changes: 4 additions & 5 deletions dist/tween.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -744,10 +744,9 @@ var Tween = /** @class */ (function () {
};
Tween.prototype._swapEndStartRepeatValues = function (property) {
var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}
else {
this._valuesStartRepeat[property] = this._valuesEnd[property];
Expand All @@ -757,7 +756,7 @@ var Tween = /** @class */ (function () {
return Tween;
}());

var VERSION = '18.6.3';
var VERSION = '18.6.4';

/**
* Tween.js - Licensed under the MIT license
Expand Down
9 changes: 4 additions & 5 deletions dist/tween.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,10 +750,9 @@
};
Tween.prototype._swapEndStartRepeatValues = function (property) {
var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}
else {
this._valuesStartRepeat[property] = this._valuesEnd[property];
Expand All @@ -763,7 +762,7 @@
return Tween;
}());

var VERSION = '18.6.3';
var VERSION = '18.6.4';

/**
* Tween.js - Licensed under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tweenjs/tween.js",
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.",
"version": "18.6.3",
"version": "18.6.4",
"main": "dist/tween.cjs.js",
"types": "dist/tween.d.ts",
"module": "dist/tween.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion src/Version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const VERSION = '18.6.3'
const VERSION = '18.6.4'
export default VERSION

0 comments on commit 352da17

Please sign in to comment.