]> khamidou — GitHub mirrors - electron.git/commitdiff
Update dialog.md
authorEric Poulsen <eric@zyxod.com>
Fri, 30 Oct 2015 21:46:18 +0000 (14:46 -0700)
committerEric Poulsen <eric@zyxod.com>
Fri, 30 Oct 2015 21:46:18 +0000 (14:46 -0700)
Clarification of showErrorBox behavior on Linux if called before app `ready` event.

docs/api/dialog.md

index 0fadfa37f80c10da434c79e6220b087c5bb7a7de..a665f7aa081d4d0c631fa3f5a9c71a4f8890576e 100644 (file)
@@ -114,4 +114,5 @@ will be passed via `callback(response)`.
 Displays a modal dialog that shows an error message.
 
 This API can be called safely before the `ready` event the `app` module emits,
-it is usually used to report errors in early stage of startup.
+it is usually used to report errors in early stage of startup.  If called before the app `ready`
++event on Linux, the message will be emitted to stderr, and no GUI dialog will appear.