diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-13 23:02:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-13 23:02:37 +0800 |
commit | bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4 (patch) | |
tree | 7842c1a6ac8394e8bebfd4f27c9222b497aaf0f6 /cmd/mist/assets/examples/coin.html | |
parent | 76fa75b39439e6c8c83ebc03fb32aa615227cc44 (diff) | |
download | go-tangerine-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.gz go-tangerine-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.zst go-tangerine-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.zip |
merge
Diffstat (limited to 'cmd/mist/assets/examples/coin.html')
-rw-r--r-- | cmd/mist/assets/examples/coin.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html index 546c6f13f..99e0c7643 100644 --- a/cmd/mist/assets/examples/coin.html +++ b/cmd/mist/assets/examples/coin.html @@ -79,6 +79,12 @@ contract.received({from: eth.coinbase}).changed(function() { refresh(); }); + + var ev = contract.SingleTransact({}) + ev.watch(function(log) { + someElement.innerHTML += "tnaheousnthaoeu"; + }); + eth.watch('chain').changed(function() { refresh(); }); |