immediate
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -11,3 +11,4 @@ 'use strict'; | ||
var queue = []; | ||
function drainQueue() { | ||
//named nextTick for less confusing stack traces | ||
function nextTick() { | ||
draining = true; | ||
@@ -32,3 +33,3 @@ var i, oldQueue; | ||
if (types[i] && types[i].test && types[i].test()) { | ||
scheduleDrain = types[i].install(drainQueue); | ||
scheduleDrain = types[i].install(nextTick); | ||
break; | ||
@@ -35,0 +36,0 @@ } |
{ | ||
"name": "immediate", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "A cross browser microtask library", | ||
@@ -50,2 +50,2 @@ "contributors": [ | ||
} | ||
} | ||
} |
16407
251