Small edits

This commit is contained in:
Jessica Lord 2015-08-28 14:21:37 -07:00
parent d02ced87b8
commit dbc1855b42
3 changed files with 11 additions and 7 deletions

View file

@ -4,7 +4,7 @@ The `global-shortcut` module can register/unregister a global keyboard shortcut
with the operating system so that you can customize the operations for various
shortcuts.
Note that the shortcut is global; it will work even if the app does
**Note**: The shortcut is global; it will work even if the app does
not have the keyboard focus. You should not use this module until the `ready`
event of the app module is emitted.
@ -51,7 +51,8 @@ the registered shortcut is pressed by the user.
* `accelerator` [Accelerator](accelerator.md)
Returns `true` or `false` depending on whether the shortcut `accelerator` is registered.
Returns `true` or `false` depending on whether the shortcut `accelerator` is
registered.
### `globalShortcut.unregister(accelerator)`