From: Adam Lynch Date: Sun, 27 Dec 2015 03:21:10 +0000 (+0000) Subject: Fixing link to web contents from ipcMain X-Git-Tag: v0.36.3~35^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4fd08cccb4318a91d76966ee3306c5050d870648;p=electron.git Fixing link to web contents from ipcMain --- diff --git a/docs/api/ipc-main.md b/docs/api/ipc-main.md index 7c37a26c..bbaa3c00 100644 --- a/docs/api/ipc-main.md +++ b/docs/api/ipc-main.md @@ -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.