aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples/coin.html
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 23:08:30 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 23:08:30 +0800
commit5c251b69282b3992512d0c17ed0063f294a0e663 (patch)
tree7842c1a6ac8394e8bebfd4f27c9222b497aaf0f6 /cmd/mist/assets/examples/coin.html
parent75d164037fb9bbf75def7c5501727fd634ef124f (diff)
parentbde3ff16ad98cb4ab0befc899f7f0584d21ff9a4 (diff)
downloaddexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.gz
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.tar.zst
dexon-5c251b69282b3992512d0c17ed0063f294a0e663.zip
Merge branch 'fjl-poc8-net-integration' into develop
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();
});