mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
Fix several typos and grammar errors
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user