-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First draft #1
First draft #1
Conversation
.on('error', function (err) { cb(err) }) | ||
.on('end', function () { def.resolve(true) }) | ||
}, delay * 200) | ||
delay++ |
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.
may want to say why it has to run this way?
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.
It seems there can be a race condition when you're setting two config variables at the same time. I will make an issue of this in my next sitting.
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.
Sounds like a good use case for waterfall promises.
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.
nice screenshot |
@krl this is great |
var rimraf = require('rimraf') | ||
|
||
// happy lint | ||
// var it, before, after |
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.
Does this actually work to allow standard to not complain about undefined? I usually see something like:
/* global beforeEach, describe, it */
@travisperson thank you for pointing me at waterfall promises, will def be using this from now on! Pushed new version with this method |
44e3ac7
to
2e3b595
Compare
👍 Thanks for doing this! |
What is the relationship between https://www.npmjs.com/package/ipfs-api and https://www.npmjs.com/package/go-ipfs? Will ipfs-api provide access to the webapp that the go implementation has? |
@bcomnes ipfs-api is a js lib for consuming/using the ipfs api provided by go-ipfs. (it's an http server run by go-ipfs, and other implementations should probably support it (match the api) too) |
This LGTM |
5c84b62
to
ba6a9e2
Compare
0149b44
to
0eca5d3
Compare
1452a05
to
0016bb1
Compare
c545bb1
to
f9d2f29
Compare
@krl shall we merge this? |
Baller! Nice work @krl Just had a chance to play around with it. Seems to work as expected |
I would like it to actually do init automatically as well, then i'll update the readme.