💄 Add semicolon to global-shortcut code example

This keeps this line consistent with the rest of the documentation.
This commit is contained in:
Steve Kinney 2015-10-07 09:03:11 -07:00
parent 5bdc077b48
commit 6f61832a34

View file

@ -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');