Merge pull request #7277 from electron/dictionary-to-object

Set parameter type to Object instead of Dictionary
This commit is contained in:
Kevin Sawicki 2016-09-20 14:48:48 -07:00 committed by GitHub
commit 85702604c3
2 changed files with 3 additions and 3 deletions

View file

@ -999,7 +999,7 @@ menu bar.
* `progress` Double
* `options` Object (optional)
* `mode` String _Windows_ - Mode for the progres bar (`none`, `normal`, `indeterminate`, `error`, or `paused`)
* `mode` String _Windows_ - Mode for the progress bar (`none`, `normal`, `indeterminate`, `error`, or `paused`)
Sets progress value in progress bar. Valid range is [0, 1.0].

View file

@ -33,7 +33,7 @@ This method returns `true` if the Swipe between pages setting is on, and `false`
### `systemPreferences.postNotification(event, userInfo)` _macOS_
* `event` String
* `userInfo` Dictionary
* `userInfo` Object
Posts `event` as native notifications of macOS. The `userInfo` is an Object
that contains the user information dictionary sent along with the notification.
@ -41,7 +41,7 @@ that contains the user information dictionary sent along with the notification.
### `systemPreferences.postLocalNotification(event, userInfo)` _macOS_
* `event` String
* `userInfo` Dictionary
* `userInfo` Object
Posts `event` as native notifications of macOS. The `userInfo` is an Object
that contains the user information dictionary sent along with the notification.