Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gamestdio/colyseus.js
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed Jul 16, 2018
2 parents 34a4861 + 31ce674 commit 922f270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -120,7 +120,7 @@ dependencies for compatibility and assign `window.localStorage` to

- Install `react-native-browser-polyfill` (`npm install react-native-browser-polyfill`)

```
```js
// App.js
import 'react-native-browser-polyfill';
import { AsyncStorage } from 'react-native';
Expand All @@ -129,7 +129,7 @@ window.localStorage = AsyncStorage;

Another caveat is that you can only join rooms after the first connection open.

```
```js
var client = new Colyseus.Client('ws://localhost:2657');

client.onOpen.add(() => {
Expand Down

0 comments on commit 922f270

Please sign in to comment.