Skip to content

Commit

Permalink
fixed import statements in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
colinskow committed May 7, 2017
1 parent f930430 commit 3f73f14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ npm install rx-ipc-electron --save
#### From the Electron MAIN process

```js
import rxIpc from 'rx-ipc-electron/main';
// const rxIpc = require('rx-ipc-electron/main');
import rxIpc from 'rx-ipc-electron/lib/main';
// const rxIpc = require('rx-ipc-electron/lib/main');
```

#### From the Electron RENDERER process

```js
import rxIpc from 'rx-ipc-electron/renderer';
// const rxIpc = require('rx-ipc-electron/renderer');
import rxIpc from 'rx-ipc-electron/lib/renderer';
// const rxIpc = require('rx-ipc-electron/lib/renderer');
```

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rx-ipc-electron",
"version": "0.1.1",
"version": "0.1.2",
"description": "Pass RxJS Observables through IPC in Electron",
"main": "lib/index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ rimraf@^2.2.8, rimraf@^2.6.1:
dependencies:
glob "^7.0.5"

rxjs@^5.3.1:
rxjs@^5.0.0:
version "5.3.1"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.3.1.tgz#9ecc9e722247e4f4490d30a878577a3740fd0cb7"
dependencies:
Expand Down

0 comments on commit 3f73f14

Please sign in to comment.