aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-22 01:58:13 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-22 01:58:13 +0800
commite68f8e79ea0b35fe906534c473cc6e403f30c91b (patch)
tree1941df8efca89fcf78d99d756126bcb6816b74c9
parent689630d261bcaea0e192c0d4c229c1b71c2aaf0f (diff)
downloadgo-tangerine-e68f8e79ea0b35fe906534c473cc6e403f30c91b.tar.gz
go-tangerine-e68f8e79ea0b35fe906534c473cc6e403f30c91b.tar.zst
go-tangerine-e68f8e79ea0b35fe906534c473cc6e403f30c91b.zip
natspec changes
-rw-r--r--example/natspec_contract.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/example/natspec_contract.html b/example/natspec_contract.html
index 2548495b7..2cf641910 100644
--- a/example/natspec_contract.html
+++ b/example/natspec_contract.html
@@ -5,6 +5,7 @@
<script type="text/javascript" src="js/es6-promise/promise.min.js"></script>
<script type="text/javascript" src="js/bignumber.js/bignumber.min.js"></script>
<script type="text/javascript" src="../dist/ethereum.js"></script>
+<script type="text/javascript" src="../../natspec.js"></script>
<script type="text/javascript">
var web3 = require('web3');
@@ -13,7 +14,7 @@
// solidity source code
var source = "" +
"contract test {\n" +
- " /// @notice Will multiplty `a` by 7. \n" +
+ " /// @notice Will multiply `a` by 7. \n" +
" function multiply(uint a) returns(uint d) {\n" +
" return a * 7;\n" +
" }\n" +
@@ -21,7 +22,7 @@
// contract description, this will be autogenerated somehow
var desc = [{
- "name": "multiply",
+ "name": "multiply(uint256)",
"inputs": [
{
"name": "a",