process-nextick-args
Advanced tools
Comparing version 1.0.4 to 1.0.5
'use strict'; | ||
module.exports = nextTick; | ||
if (process.version && parseInt(process.version.split('.')[0].slice(1), 10) > 0) { | ||
module.exports = process.nextTick; | ||
} else { | ||
module.exports = nextTick; | ||
} | ||
function nextTick(fn) { | ||
@@ -5,0 +10,0 @@ var args = new Array(arguments.length - 1); |
{ | ||
"name": "process-nextick-args", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "process.nextTick but always with args", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3064
38