]> khamidou — GitHub mirrors - electron.git/commitdiff
:lipstick: Add semicolon to global-shortcut code example
authorSteve Kinney <hello@stevekinney.net>
Wed, 7 Oct 2015 16:03:11 +0000 (09:03 -0700)
committerSteve Kinney <hello@stevekinney.net>
Wed, 7 Oct 2015 16:03:11 +0000 (09:03 -0700)
This keeps this line consistent with the rest of the documentation.

docs/api/global-shortcut.md

index adba06e1adcff31ca043a77a9f53935f276aa9be..fe69881f396e505aaf8192dc142d6228832d8dc3 100644 (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');