Fixing typo
authorMark Potnick <mark.potnick@gmail.com>
Wed, 3 Feb 2016 20:15:13 +0000 (15:15 -0500)
committerMark Potnick <mark.potnick@gmail.com>
Wed, 3 Feb 2016 20:15:13 +0000 (15:15 -0500)
docs/api/ipc-renderer.md

index 090fd1a..9693663 100644 (file)
@@ -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