array-series
Advanced tools
Comparing version 0.1.0 to 0.1.1
12
index.js
module.exports = function series(fns, context, callback) { | ||
if (!callback && typeof context === 'function') { | ||
callback = context | ||
context = null | ||
} | ||
if (!callback) { | ||
callback = noop | ||
if (typeof context === 'function') { | ||
callback = context | ||
context = null | ||
} else { | ||
callback = noop | ||
} | ||
} | ||
@@ -10,0 +10,0 @@ |
{ | ||
"name": "array-series", | ||
"description": "Call an array of asynchronous functions in series", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"scripts": { | ||
"test": "node test" | ||
} | ||
} | ||
} |
3938
109