]> khamidou — GitHub mirrors - electron.git/commitdiff
Update ipc-renderer.md
authorEran Tiktin <etiktin@users.noreply.github.com>
Thu, 19 Nov 2015 00:11:32 +0000 (02:11 +0200)
committerEran Tiktin <etiktin@users.noreply.github.com>
Thu, 19 Nov 2015 00:11:32 +0000 (02:11 +0200)
Removed duplication.

docs/api/ipc-renderer.md

index e591f9e0bca2b357b65406ae27d829b13827b681..01f0bb3a83ddc262c8c329f09de241959f667eff 100644 (file)
@@ -37,11 +37,10 @@ send arbitrary arguments. The main process handles it by listening for the
 * `arg` (optional)
 
 Send an event to the main process synchronously via a `channel`, you can also
-send arbitrary arguments. The main process handles it by listening for the
-`channel` event with `ipcMain`.
+send arbitrary arguments.
 
-The main process handles it by listening for the `channel` event with `ipc` and
-replies by setting the `event.returnValue`.
+The main process handles it by listening for the `channel` event with 
+`ipcMain` and replies by setting `event.returnValue`.
 
 __Note:__ Sending a synchronous message will block the whole renderer process,
 unless you know what you are doing you should never use it.