From 7b19b6b4f2dc72c03aa9be4a3a279b7d6a617dd7 Mon Sep 17 00:00:00 2001 From: Hank Bao Date: Thu, 9 Jul 2015 12:30:37 +0800 Subject: [PATCH] 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. --- docs/api/global-shortcut.md | 1 + 1 file changed, 1 insertion(+) 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'); -- 2.43.0