quicktask
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -18,2 +18,5 @@ "use strict"; | ||
} | ||
else if (typeof setImmediate !== 'undefined') { | ||
return setImmediate; | ||
} | ||
else if (typeof process !== 'undefined') { | ||
@@ -20,0 +23,0 @@ return process.nextTick; |
{ | ||
"name": "quicktask", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Tiny microtask queue scheduler for all environments", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,2 +12,3 @@ # Quicktask | ||
- Uses MutationObserver in the browser, supported by many browsers, including IE11. | ||
- Uses setImmediate if available. | ||
- Uses process.nextTick in Node.js. | ||
@@ -14,0 +15,0 @@ - Uses setTimeout otherwise. |
Sorry, the diff of this file is not supported yet
4547
29
50