mirror of https://github.com/status-im/web3.js.git
unrelevant change in example
This commit is contained in:
parent
ca46cb5c94
commit
d72988475d
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
var address;
|
var address;
|
||||||
var contract;
|
var contract;
|
||||||
|
var inc;
|
||||||
|
|
||||||
var update = function (err, x) {
|
var update = function (err, x) {
|
||||||
document.getElementById('result').textContent = JSON.stringify(x, null, 2);
|
document.getElementById('result').textContent = JSON.stringify(x, null, 2);
|
||||||
|
@ -55,8 +56,8 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
contract.Incremented({odd: true}).watch(update);
|
inc = contract.Incremented({odd: true});
|
||||||
|
inc.watch(update);
|
||||||
};
|
};
|
||||||
|
|
||||||
var counter = 0;
|
var counter = 0;
|
||||||
|
|
Loading…
Reference in New Issue