Merge pull request #6932 from electron/fix-power-save-blocker-doc-bug

Fix some invalid docs
This commit is contained in:
Kevin Sawicki 2016-08-22 12:30:00 -07:00 committed by GitHub
commit e84d0ebb7e
6 changed files with 8 additions and 11 deletions

View file

@ -933,7 +933,6 @@ Opens the developer tools for the service worker context.
#### `contents.send(channel[, arg1][, arg2][, ...])`
* `channel` String
* `arg` (optional)
Send an asynchronous message to renderer process via `channel`, you can also
send arbitrary arguments. Arguments will be serialized in JSON internally and
@ -977,8 +976,8 @@ app.on('ready', () => {
* `screenPosition` String - Specify the screen type to emulate
(default: `desktop`)
* `desktop`
* `mobile`
* `desktop` - Desktop screen type
* `mobile` - Mobile screen type
* `screenSize` Object - Set the emulated screen size (screenPosition == mobile)
* `width` Integer - Set the emulated screen width
* `height` Integer - Set the emulated screen height