Skip to content

Commit 794175f

Browse files
author
Jacob Beauchamp
committed
Fixed parenthases error in docs
1 parent aa5efab commit 794175f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/embarkjs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ methods in EmbarkJS contracts will be converted to promises.
1111
.. code:: javascript
1212
1313
var myContract = new EmbarkJS.Contract({abi: abiObject, address: "0x123"});
14-
myContract.get().then(function(value) { console.log("value is " + value.toNumber) });
14+
myContract.get().then(function(value) { console.log("value is " + value.toNumber()) });
1515
1616
**deployment**
1717

0 commit comments

Comments
 (0)