mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
Fixed parenthases error in docs
This commit is contained in:
parent
aa5efab6f9
commit
794175ffb1
@ -11,7 +11,7 @@ methods in EmbarkJS contracts will be converted to promises.
|
||||
.. code:: javascript
|
||||
|
||||
var myContract = new EmbarkJS.Contract({abi: abiObject, address: "0x123"});
|
||||
myContract.get().then(function(value) { console.log("value is " + value.toNumber) });
|
||||
myContract.get().then(function(value) { console.log("value is " + value.toNumber()) });
|
||||
|
||||
**deployment**
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user