Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Files add interface #288

Merged
merged 8 commits into from
Jun 5, 2016
Merged

Files add interface #288

merged 8 commits into from
Jun 5, 2016

Conversation

daviddias
Copy link
Contributor

Builds on #281

@daviddias daviddias force-pushed the files-add-interface branch from ce91c3a to 6207ad4 Compare June 5, 2016 19:32
if (err) {
return done(err)
}
async.map(res, function map (entry, next) {
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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

@daviddias daviddias merged commit a55fa54 into master Jun 5, 2016
@daviddias daviddias deleted the files-add-interface branch June 5, 2016 19:49
next(null, obj)
})
}, function (err, res) {
done(err, res)
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants