]> khamidou — GitHub mirrors - electron.git/commitdiff
Merge master
authorJessica Lord <jlord@github.com>
Wed, 2 Sep 2015 16:57:29 +0000 (09:57 -0700)
committerJessica Lord <jlord@github.com>
Wed, 2 Sep 2015 16:57:29 +0000 (09:57 -0700)
1  2 
docs/api/web-frame.md

index 1d472a87adff6cea0fa5db7be6c0f89b863e0eac,82d5fcc49d791e1996c43662f98d66df0690e909..bdf42da3003a601cfe697c90ad710d11e23c8c15
@@@ -1,6 -1,7 +1,7 @@@
 -# web-frame
 +# webFrame
  
- The `web-frame` module customizes the rendering of the current web page.
 -The `web-frame` module allows you to customize the rendering of the current 
++The `web-frame` module allows you to customize the rendering of the current
+ web page.
  
  An example of zooming current page to 200%.
  
@@@ -10,18 -10,14 +11,18 @@@ var webFrame = require('web-frame')
  webFrame.setZoomFactor(2);
  ```
  
 -## webFrame.setZoomFactor(factor)
 +## Methods
 +
 +The `web-frame` module has the following methods:
 +
 +### `webFrame.setZoomFactor(factor)`
  
 -* `factor` Number - Zoom factor
 +* `factor` Number - Zoom factor.
  
--Changes the zoom factor to the specified factor, zoom factor is
--zoom percent / 100, so 300% = 3.0.
++Changes the zoom factor to the specified factor. Zoom factor is
++zoom percent divided by 100, so 300% = 3.0.
  
 -## webFrame.getZoomFactor()
 +### `webFrame.getZoomFactor()`
  
  Returns the current zoom factor.