Codebase list node-slide / b2661af
New upstream version 1.1.6 Pirate Praveen 6 years ago
2 changed file(s) with 4 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2525 , a = l * n
2626 if (!a) return cb_(null, [])
2727 function cb (er) {
28 if (errState) return
28 if (er && !errState) errState = er
29
2930 var argLen = arguments.length
3031 for (var i = 1; i < argLen; i ++) if (arguments[i] !== undefined) {
3132 data[i - 1] = (data[i - 1] || []).concat(arguments[i])
4243 })
4344 }
4445
45 if (er || --a === 0) {
46 errState = er
47 cb_.apply(null, [errState].concat(data))
48 }
46 if (--a === 0) cb_.apply(null, [errState].concat(data))
4947 }
5048 // expect the supplied cb function to be called
5149 // "n" times for each thing in the array.
00 {
11 "name": "slide",
2 "version": "1.1.5",
2 "version": "1.1.6",
33 "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
44 "contributors": [
55 "S. Sriram <ssriram@gmail.com> (http://www.565labs.com)"