Merge pull request #9580 from rajatsingla28/staging

Docs: Remove optional parameter for removeAllListeners.
This commit is contained in:
Kevin Sawicki 2017-05-24 16:31:06 -07:00 committed by GitHub
commit 0d2aa5c027

View file

@ -78,9 +78,9 @@ Removes the specified `listener` from the listener array for the specified
### `ipcMain.removeAllListeners([channel])`
* `channel` String (optional)
* `channel` String
Removes all listeners, or those of the specified `channel`.
Removes listeners of the specified `channel`.
## Event object