Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
voter101 committed Apr 5, 2016
1 parent 1deb6c4 commit 9819386
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 @@ -45,11 +45,11 @@ independent bundled JS files on our website), they won't share `eventing-bus`
with each other by default. However you can use `eventing-bus` placed in
browser's `window` by default.

```
````javascript
import EventBus from 'eventing-bus/lib/window_event_stream';
// Now each time you import the `EventBus` like that, it will look for
// its instance in browser's `window`
```
````

**Warning!** It will throw error if `window` is not reachable.

Expand Down

0 comments on commit 9819386

Please sign in to comment.