From: Mark Potnick Date: Wed, 3 Feb 2016 20:15:13 +0000 (-0500) Subject: Fixing typo X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b9e2806042beb0b91da6ca9b4d724752ebe6e70c;p=electron.git Fixing typo --- diff --git a/docs/api/ipc-renderer.md b/docs/api/ipc-renderer.md index 090fd1a9..96936632 100644 --- a/docs/api/ipc-renderer.md +++ b/docs/api/ipc-renderer.md @@ -37,9 +37,9 @@ channel. This removes *all* handlers to this ipc channel. -### `ipcMain.once(channel, callback)` +### `ipcRenderer.once(channel, callback)` -Use this in place of `ipcMain.on()` to fire handlers meant to occur only once, +Use this in place of `ipcRenderer.on()` to fire handlers meant to occur only once, as in, they won't be activated after one call of `callback` ## Sending Messages