From 6228ce3f35ed70ee675afa460f1b57edd53db810 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 3 Nov 2016 14:04:03 +1100 Subject: [PATCH] Fix the IPC docs so the docs-linter finds the methods --- docs/api/ipc-main.md | 2 +- docs/api/ipc-renderer.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/ipc-main.md b/docs/api/ipc-main.md index 9e39d789a9c9..a5951fe1a654 100644 --- a/docs/api/ipc-main.md +++ b/docs/api/ipc-main.md @@ -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: diff --git a/docs/api/ipc-renderer.md b/docs/api/ipc-renderer.md index cf4c75133b7d..afe83a845a8b 100644 --- a/docs/api/ipc-renderer.md +++ b/docs/api/ipc-renderer.md @@ -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: