]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: "options" is a required parameter in dialog.showMessageBox
authorCheng Zhao <zcbenz@gmail.com>
Wed, 25 Mar 2015 11:20:32 +0000 (19:20 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 25 Mar 2015 11:20:32 +0000 (19:20 +0800)
docs/api/dialog.md

index f7ba10245204191f85b3136d1e2b4d5bd513555c..4f4403db6d8e7985109025f26b0b7922d8f79c11 100644 (file)
@@ -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