aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples/coin.html
diff options
context:
space:
mode:
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 bfc1b6e94..ca7a9c0dd 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();
});