]> khamidou — GitHub mirrors - electron.git/commitdiff
Fixing link to web contents from ipcMain
authorAdam Lynch <contact@adamlynch.com>
Sun, 27 Dec 2015 03:21:10 +0000 (03:21 +0000)
committerAdam Lynch <contact@adamlynch.ie>
Tue, 29 Dec 2015 16:30:00 +0000 (16:30 +0000)
docs/api/ipc-main.md

index 7c37a26c034a63b10dda58060854f65ac1bbd9c5..bbaa3c0043f690862e888ac3fb06705919875b50 100644 (file)
@@ -7,7 +7,7 @@ a renderer will be emitted to this module.
 ## Sending Messages
 
 It is also possible to send messages from the main process to the renderer
-process, see [webContents.send][webcontents-send] for more information.
+process, see [webContents.send](web-contents.md#webcontentssendchannel-arg1-arg2-) for more information.
 
 * When sending a message, the event name is the `channel`.
 * To reply a synchronous message, you need to set `event.returnValue`.
@@ -66,6 +66,4 @@ Set this to the value to be returned in a synchronous message.
 
 Returns the `webContents` that sent the message, you can call
 `event.sender.send` to reply to the asynchronous message, see
-[webContents.send][webcontents-send] for more information.
-
-[webcontents-send]: web-contents.md#webcontentssendchannel-arg1-arg2-
+[webContents.send](web-contents.md#webcontentssendchannel-arg1-arg2-) for more information.