Browse Source

Update global-shortcut.md

Make it clear that the `global-shortcut` module should not be used until the ready event of app module gets emitted.
Hank Bao 9 years ago
parent
commit
7b19b6b4f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/api/global-shortcut.md

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

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