diff options
Diffstat (limited to 'cmd/mist/assets/ext/example/balance.html')
-rw-r--r-- | cmd/mist/assets/ext/example/balance.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cmd/mist/assets/ext/example/balance.html b/cmd/mist/assets/ext/example/balance.html index 88f55315a..75c41dc8e 100644 --- a/cmd/mist/assets/ext/example/balance.html +++ b/cmd/mist/assets/ext/example/balance.html @@ -2,11 +2,13 @@ <html> <head> -<script type="text/javascript" src="js/bignumber.js/bignumber.min.js"></script> +<script type="text/javascript" src="../bignumber.min.js"></script> <script type="text/javascript" src="../dist/ethereum.js"></script> <script type="text/javascript"> +console.log("hello world"); var web3 = require('web3'); +console.log(web3) web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8080')); function watchBalance() { @@ -25,6 +27,11 @@ }); } +var request = new XMLHttpRequest(); +request.open('POST', "http://localhost:8080", false); +request.send({}); + + </script> </head> <body> |