Skip to content

Commit

Permalink
Updated JavaScript API (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman committed Oct 30, 2015
1 parent 2819f13 commit 0f5f76d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions JavaScript-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ balance.plus(21).toString(10); // toString(10) converts it to a number string, b
* [web3](#web3)
* [version](#web3versionapi)
* [api](#web3versionapi)
* [client](#web3versionclient)
* [node](#web3versionnode)
* [network](#web3versionnetwork)
* [ethereum](#web3versionethereum)
* [whisper](#web3versionwhisper)
Expand Down Expand Up @@ -195,9 +195,9 @@ console.log(version); // "0.2.0"

***

#### web3.version.client
#### web3.version.node

web3.version.client
web3.version.node
// or async
web3.version.getClient(callback(error, result){ ... })

Expand All @@ -209,7 +209,7 @@ console.log(version); // "0.2.0"
##### Example

```js
var version = web3.version.client;
var version = web3.version.node;
console.log(version); // "Mist/v0.9.3/darwin/go1.4.1"
```

Expand Down

0 comments on commit 0f5f76d

Please sign in to comment.