Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ticky", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Run a callback as soon as possible", | ||
@@ -5,0 +5,0 @@ "main": "ticky.js", |
var si = typeof setImmediate === 'function', tick; | ||
if (si) { | ||
tick = function (fn) { setImmediate(fn); }; | ||
} else if (typeof process !== undef && process.nextTick) { | ||
} else if (typeof process !== 'undefined' && process.nextTick) { | ||
tick = process.nextTick; | ||
@@ -10,2 +10,2 @@ } else { | ||
module.exports = tick; | ||
module.exports = tick; |
2390
15