Comparing version 0.1.1 to 0.1.2
@@ -62,5 +62,3 @@ (function() { | ||
var dt, executiontime, nextid, started; | ||
if (requestAnimationFrame.isNative) { | ||
if (this.need_next_tick()) nextid = this.nextTick(); | ||
} | ||
if (this.need_next_tick()) nextid = this.nextTick(); | ||
started = now(); | ||
@@ -77,6 +75,3 @@ dt = started - t; | ||
this.work_queue(started, dt, executiontime); | ||
if (nextid == null) { | ||
if (this.need_next_tick()) nextid = this.nextTick(); | ||
return; | ||
} | ||
if (nextid == null) return; | ||
if (!this.need_next_tick()) { | ||
@@ -83,0 +78,0 @@ if (this.timeouttime != null) clearTimeout(nextid.timeout); |
{ "name": "animation" | ||
, "description": "animation timing & handling" | ||
, "version": "0.1.1" | ||
, "version": "0.1.2" | ||
, "homepage": "https://github.com/dodo/node-animation" | ||
@@ -5,0 +5,0 @@ , "author": "dodo (https://github.com/dodo)" |
8861
109