Fixed parenthases error in docs

This commit is contained in:
Jacob Beauchamp 2017-07-13 17:54:28 -04:00
parent aa5efab6f9
commit 794175ffb1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ methods in EmbarkJS contracts will be converted to promises.
.. code:: javascript .. code:: javascript
var myContract = new EmbarkJS.Contract({abi: abiObject, address: "0x123"}); 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** **deployment**