From: Steve Kinney Date: Wed, 7 Oct 2015 16:03:11 +0000 (-0700) Subject: :lipstick: Add semicolon to global-shortcut code example X-Git-Tag: v0.33.7~15^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6f61832a342dce60205df47a0b410ed932192f60;p=electron.git :lipstick: Add semicolon to global-shortcut code example This keeps this line consistent with the rest of the documentation. --- diff --git a/docs/api/global-shortcut.md b/docs/api/global-shortcut.md index adba06e1..fe69881f 100644 --- a/docs/api/global-shortcut.md +++ b/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');