aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/samplecoin.html
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-30 07:44:12 +0800
committerobscuren <geffobscura@gmail.com>2014-04-30 07:44:12 +0800
commite85d5dd428c71dd45060082a9af28a40a68a25e4 (patch)
treeb580e1d7fc5f211dda95ed9de86bdc4c9b66321c /ethereal/assets/samplecoin.html
parent64c2550b3154df7f2c75dda559d91046cb559ffd (diff)
downloadgo-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.tar
go-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.tar.gz
go-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.tar.bz2
go-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.tar.lz
go-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.tar.xz
go-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.tar.zst
go-tangerine-e85d5dd428c71dd45060082a9af28a40a68a25e4.zip
API changes
Diffstat (limited to 'ethereal/assets/samplecoin.html')
-rw-r--r--ethereal/assets/samplecoin.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/ethereal/assets/samplecoin.html b/ethereal/assets/samplecoin.html
index 1b89be877..73368a0b8 100644
--- a/ethereal/assets/samplecoin.html
+++ b/ethereal/assets/samplecoin.html
@@ -22,14 +22,12 @@ function tests() {
}
function init() {
- eth.watch(jefcoinAddr);
-
eth.getKey(function(key) {
eth.getStorage(jefcoinAddr, key, function(storage) {
document.querySelector("#currentAmount").innerHTML = "Amount: " + storage;
});
- eth.on("object:change", function(stateObject) {
+ eth.watch(jefcoinAddr, function(stateObject) {
debug(stateObject);
eth.getStorage(jefcoinAddr, key, function(storage) {
document.querySelector("#currentAmount").innerHTML = "Amount: " + storage;