unrelevant change in example

This commit is contained in:
Marek Kotewicz 2015-06-10 12:06:37 +02:00
parent ca46cb5c94
commit d72988475d
1 changed files with 3 additions and 2 deletions

View File

@ -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;