From b68eccf784819e9718f31167304fbf7ce461ef3b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 25 Mar 2015 19:20:32 +0800 Subject: [PATCH] docs: "options" is a required parameter in dialog.showMessageBox --- docs/api/dialog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/dialog.md b/docs/api/dialog.md index f7ba10245204..4f4403db6d8e 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -67,7 +67,7 @@ The `filters` specifies an array of file types that can be displayed, see If a `callback` is passed, the API call would be asynchronous and the result would be passed via `callback(filename)` -## dialog.showMessageBox([browserWindow], [options], [callback]) +## dialog.showMessageBox([browserWindow], options, [callback]) * `browserWindow` BrowserWindow * `options` Object