Browse Source

Fixup app and bw docs

Samuel Attard 8 years ago
parent
commit
921b474919
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/api/app.md
  2. 1 1
      docs/api/browser-window.md

+ 1 - 1
docs/api/app.md

@@ -845,7 +845,7 @@ When `informational` is passed, the dock icon will bounce for one second.
 However, the request remains active until either the application becomes active
 or the request is canceled.
 
-Returns an ID representing the request.
+Return `Integer` an ID representing the request.
 
 ### `app.dock.cancelBounce(id)` _macOS_
 

+ 1 - 1
docs/api/browser-window.md

@@ -205,7 +205,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
   * `vibrancy` String - (optional) Add a type of vibrancy effect to the window, only on
     macOS. Can be `appearance-based`, `light`, `dark`, `titlebar`, `selection`,
     `menu`, `popover`, `sidebar`, `medium-light` or `ultra-dark`.
-  * `zoomToPageWidth` Boolean - Controls the behavior on macOS when
+  * `zoomToPageWidth` Boolean - (optional) Controls the behavior on macOS when
     option-clicking the green stoplight button on the toolbar or by clicking the
     Window > Zoom menu item. If `true`, the window will grow to the preferred
     width of the web page when zoomed, `false` will cause it to zoom to the