aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples/coin.html
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 23:02:37 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 23:02:37 +0800
commitbde3ff16ad98cb4ab0befc899f7f0584d21ff9a4 (patch)
tree7842c1a6ac8394e8bebfd4f27c9222b497aaf0f6 /cmd/mist/assets/examples/coin.html
parent76fa75b39439e6c8c83ebc03fb32aa615227cc44 (diff)
downloadgo-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.html6
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();
});