Browse Source

:lipstick: Add semicolon to global-shortcut code example

This keeps this line consistent with the rest of the documentation.
Steve Kinney 9 years ago
parent
commit
6f61832a34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/global-shortcut.md

+ 1 - 1
docs/api/global-shortcut.md

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