worker-timers
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -55,3 +55,3 @@ { | ||
}, | ||
"version": "0.1.7" | ||
"version": "0.1.8" | ||
} |
@@ -12,3 +12,3 @@ 'use strict'; | ||
if (index) { | ||
if (index > -1) { | ||
this._entries.splice(index, 1); | ||
@@ -15,0 +15,0 @@ this._values.splice(index, 1); |
@@ -41,3 +41,3 @@ 'use strict'; | ||
if (identifier !== undefined) { | ||
clearInterval(identifier); | ||
clearTimeout(identifier); | ||
scheduledIntervalIdentifiers.delete(id); | ||
@@ -44,0 +44,0 @@ } |
16251