-
Notifications
You must be signed in to change notification settings - Fork 297
Conversation
ce91c3a
to
6207ad4
Compare
if (err) { | ||
return done(err) | ||
} | ||
async.map(res, function map (entry, next) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please try to avoid adding async
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roger. Due to time constraints, can we make that a issue to hit later? It would be good to explain in one paragraph (or even one line -> "async is a huge dependency, makes our browser lib fat") so that @noffle and other contribs try to avoid it in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure there is already an issue on js-ipfs for exactly that
next(null, obj) | ||
}) | ||
}, function (err, res) { | ||
done(err, res) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could have been just passed done directly
Builds on #281