From: Hank Bao Date: Thu, 9 Jul 2015 04:30:37 +0000 (+0800) Subject: Update global-shortcut.md X-Git-Tag: v0.30.0~35^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7b19b6b4f2dc72c03aa9be4a3a279b7d6a617dd7;p=electron.git 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. --- diff --git a/docs/api/global-shortcut.md b/docs/api/global-shortcut.md index 871357f8..95fd5caf 100644 --- a/docs/api/global-shortcut.md +++ b/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');