ie8 parallel results array undefined
Howdy friends,
I believe there's a bug with parallel. Getting the results array works great in modern browsers, and fails miserably in ie8. I'm not exactly sure why, though I will investigate. Here's a code example to try:
async.parallel([
function(callback) {
callback(null, { a: 'b' });
}
], function(err, results) {
var i = results; //results is an empty array in ie8!!
});
Thanks!
Why was this issue closed? Am I using the issue system incorrectly? Is it not a bug?
I think your issue got caught in a bulk close. Have you tried with the just-published version 0.4.0? It may have already been fixed.
@mattydoincode thanks for reporting, if you find it still fails with 0.4.0 we'll re-open this :)
@caolan thanks for following up.
Just pulled the code and still getting the same results. I'll go digging. Maybe you can point me in the right direction?
@caolan
After some digging, found out that in a separate part of my code, a library was defining Array.prototype.map if map was undefined (as in, if the browser is IE8 etc). This map wasn't compatible with the _map function you use in async. I was able to rectify the problem.
Feel free to close the issue! Thanks.
Glad you found the cause @mattydoincode :)