Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tina

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tina - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

2

package.json
{
"name": "tina",
"version": "0.3.12",
"version": "0.3.13",
"description": "Tweening and INterpolations for Animation",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -98,2 +98,6 @@

update: function () {
if (this._running === false) {
return;
}
var now = clock.now() - this._startTime;

@@ -213,3 +217,2 @@ var dt = now - this._time;

if (this._running === false) {
console.warn('[TINA.pause] TINA is not running');
return false;

@@ -224,13 +227,7 @@ }

pause: function () {
if (this._stopAutomaticUpdate() === false) {
return;
}
for (var handle = this._activeTweeners.first; handle !== null; handle = handle.next) {
handle.object._pause();
}
this._running = false;
if (this._onPause !== null) {
this._onPause();
}
return this;

@@ -240,5 +237,4 @@ },

resume: function () {
if (this._startAutomaticUpdate() === false) {
return;
}
this._running = true;
this._startTime = clock.now() - this._time;

@@ -249,6 +245,2 @@ if (this._onResume !== null) {

for (var handle = this._activeTweeners.first; handle !== null; handle = handle.next) {
handle.object._resume();
}
return this;

@@ -255,0 +247,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc