From: Cheng Zhao Date: Wed, 25 Mar 2015 11:20:32 +0000 (+0800) Subject: docs: "options" is a required parameter in dialog.showMessageBox X-Git-Tag: v0.22.3~34 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b68eccf784819e9718f31167304fbf7ce461ef3b;p=electron.git docs: "options" is a required parameter in dialog.showMessageBox --- diff --git a/docs/api/dialog.md b/docs/api/dialog.md index f7ba1024..4f4403db 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