Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Fabian Vogelsteller 2016-01-21 15:30:42 +01:00
commit bc1c3c7d7e
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ which implements the [Generic JSON RPC](https://github.com/ethereum/wiki/wiki/JS
<!-- [![browser support](https://ci.testling.com/ethereum/ethereum.js.png)](https://ci.testling.com/ethereum/ethereum.js) --> <!-- [![browser support](https://ci.testling.com/ethereum/ethereum.js.png)](https://ci.testling.com/ethereum/ethereum.js) -->
You need to run a local ethrereum node to use this library. You need to run a local Ethereum node to use this library.
[Documentation](https://github.com/ethereum/wiki/wiki/JavaScript-API) [Documentation](https://github.com/ethereum/wiki/wiki/JavaScript-API)

View File

@ -168,7 +168,7 @@ var Filter = function (requestManager, options, methods, formatter, callback) {
pollFilter(self); pollFilter(self);
// start to watch immediately // start to watch immediately
if(callback) { if(typeof callback === 'function') {
return self.watch(callback); return self.watch(callback);
} }
} }