Skip to content

Commit

Permalink
Merge pull request EOSIO#389 from rickykung/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
jeffreyssmith2nd authored Oct 9, 2018
2 parents d7399f5 + 06200ea commit 1356fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const rpc = new eosjs.Rpc.JsonRpc('http://127.0.0.1:8000', { fetch });

Include textDecoder and textEncoder when using in browser.
```js
const api = new eosjs.Api({ rpc, signatureProvider, textDecoder: new TextDecoder, textEncoder: new TextEncoder });
const api = new eosjs.Api({ rpc, signatureProvider, textDecoder: new TextDecoder(), textEncoder: new TextEncoder() });
```

### Sending a transaction
Expand Down Expand Up @@ -107,4 +107,4 @@ After running `npm run build-web` or `yarn build-web`, the browser distribution
1. `npm run build-web` or `yarn build-web`
1. Open `test.html` in your browser of choice
*The integration tests assume that you have a local node for EOS set up at localhost:8000. The test.html file should run through 5 test cases with the final showing an exception on the screen for missing required TAPOS.*
*The integration tests assume that you have a local node for EOS set up at localhost:8000. The test.html file should run through 5 test cases with the final showing an exception on the screen for missing required TAPOS.*

0 comments on commit 1356fde

Please sign in to comment.