Fix several typos and grammar errors
This commit is contained in:
parent
8aa815e6d1
commit
13b6ed6dc5
5 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ var globalShortcut = require('global-shortcut');
|
|||
// Register a 'ctrl+x' shortcut listener.
|
||||
var ret = globalShortcut.register('ctrl+x', function() { console.log('ctrl+x is pressed'); })
|
||||
if (!ret)
|
||||
console.log('registerion fails');
|
||||
console.log('registration failed');
|
||||
|
||||
// Check whether a shortcut is registered.
|
||||
console.log(globalShortcut.isRegistered('ctrl+x'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue