Merge pull request #7854 from electron/fix-ipc-docs

Fix the IPC docs so the docs-linter finds the methods
This commit is contained in:
Zeke Sikelianos 2016-11-02 20:14:47 -07:00 committed by GitHub
commit cc18670ae1
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ ipcRenderer.on('asynchronous-reply', (event, arg) => {
ipcRenderer.send('asynchronous-message', 'ping')
```
## Listening for Messages
## Methods
The `ipcMain` module has the following method to listen for events:

View file

@ -10,7 +10,7 @@ main process.
See [ipcMain](ipc-main.md) for code examples.
## Listening for Messages
## Methods
The `ipcRenderer` module has the following method to listen for events: