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

Commit

Permalink
feat(generic): add tests to generic
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Aug 16, 2016
1 parent b64d8e8 commit 2b63ccb
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 709 deletions.
2 changes: 1 addition & 1 deletion API/generic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ipfs.id(function (err, identity) {

##### `JavaScript` - ipfs.version([callback])

`callback` must follow `function (err, version) {}` signature, where `err` is an error if the operation was not successful. `version` is the version string of the implementation.
`callback` must follow `function (err, version) {}` signature, where `err` is an error if the operation was not successful. `version` is an object with the version of the implementation, the commit and the Repo.

If no `callback` is passed, a promise is returned.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
"greenkeeperio-bot <support@greenkeeper.io>",
"nginnever <ginneversource@gmail.com>"
]
}
}
Loading

0 comments on commit 2b63ccb

Please sign in to comment.