]> khamidou — GitHub mirrors - electron.git/commitdiff
Update global-shortcut.md
authorHank Bao <hankbao84@gmail.com>
Thu, 9 Jul 2015 04:30:37 +0000 (12:30 +0800)
committerHank Bao <hankbao84@gmail.com>
Thu, 9 Jul 2015 04:30:37 +0000 (12:30 +0800)
Make it clear that the `global-shortcut` module should not be used until the ready event of app module gets emitted.

docs/api/global-shortcut.md

index 871357f89f9f66e90668b03f04221713f088d433..95fd5caf1fe8f8f3c96b953a5d2db275b40dabcf 100644 (file)
@@ -3,6 +3,7 @@
 The `global-shortcut` module can register/unregister a global keyboard shortcut
 in operating system, so that you can customize the operations for various shortcuts.
 Note that the shortcut is global, even if the app does not get focused, it will still work.
+You should not use this module until the ready event of app module gets emitted.
 
 ```javascript
 var globalShortcut = require('global-shortcut');