diff --git a/CHANGELOG.md b/CHANGELOG.md index 60e9f5a..8534c67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ # 0.3.4 -- added new ethjs-format -1. Unhandled promise rejection fixed, and is no longer being swolloed. +1. Unhandled promise rejection fixed, and is no longer being swallowed. 2. ethjs-rpc bump to 0.1.9 # 0.2.6 -- added new ethjs-format diff --git a/docs/developer-guide.md b/docs/developer-guide.md index 0ae2593..b7ab24c 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -35,7 +35,7 @@ npm run lint ## Travis-ci and Coveralls Testing -Note, this will generate a `coveralls` report locally. +Note, that this will generate a `coveralls` report locally. ``` npm run test-travis diff --git a/docs/user-guide.md b/docs/user-guide.md index 77e3d69..1b78821 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -149,7 +149,7 @@ Error handling is done through function callbacks or promised catches. ## Browser Builds -`ethjs` provides production distributions for all of its modules that are ready for use in the browser right away. Simply include either `dist/ethjs-query.js` or `dist/ethjs-query.min.js` directly into an HTML file to start using this module. Note, an `Eth` object is made available globally. +`ethjs` provides production distributions for all of its modules that are ready for use in the browser right away. Simply include either `dist/ethjs-query.js` or `dist/ethjs-query.min.js` directly into an HTML file to start using this module. Note, that an `Eth` object is made available globally. ```html diff --git a/src/index.js b/src/index.js index 716ef9f..acb4dc0 100644 --- a/src/index.js +++ b/src/index.js @@ -52,7 +52,7 @@ function generateFnFor(rpcMethodName, methodObject) { return promiseToCallback(promise)(callback); } - // only return promise if no callback provided + //Only return promise if no callback is provided return promise; async function performCall() {