Merge pull request #3027 from stevekinney/minor-style-update-global-shortcut
Minor style update to the global-shortcut documentation
This commit is contained in:
commit
87faae1b13
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ app.on('ready', function() {
|
|||
// Register a 'ctrl+x' shortcut listener.
|
||||
var ret = globalShortcut.register('ctrl+x', function() {
|
||||
console.log('ctrl+x is pressed');
|
||||
})
|
||||
});
|
||||
|
||||
if (!ret) {
|
||||
console.log('registration failed');
|
||||
|
@ -62,4 +62,4 @@ Unregisters the global shortcut of `accelerator`.
|
|||
|
||||
### `globalShortcut.unregisterAll()`
|
||||
|
||||
Unregisters all the global shortcuts.
|
||||
Unregisters all of the global shortcuts.
|
||||
|
|
Loading…
Reference in a new issue