Modify 2.0 section's phrasing to use past tense

This commit is contained in:
Charles Kerr 2018-05-29 11:37:42 +02:00
parent b621321ea0
commit b0f1b5f65b

View file

@ -212,23 +212,23 @@ let windowB = new BrowserWindow(optionsB)
## `menu`
```js
// Deprecated
// Removed
menu.popup(browserWindow, 100, 200, 2)
// Replace with
// Replaced with
menu.popup(browserWindow, {x: 100, y: 200, positioningItem: 2})
```
## `nativeImage`
```js
// Deprecated
// Removed
nativeImage.toPng()
// Replace with
// Replaced with
nativeImage.toPNG()
// Deprecated
// Removed
nativeImage.toJpeg()
// Replace with
// Replaced with
nativeImage.toJPEG()
```
@ -241,27 +241,27 @@ nativeImage.toJPEG()
## `webContents`
```js
// Deprecated
// Removed
webContents.setZoomLevelLimits(1, 2)
// Replace with
// Replaced with
webContents.setVisualZoomLevelLimits(1, 2)
```
## `webFrame`
```js
// Deprecated
// Removed
webFrame.setZoomLevelLimits(1, 2)
// Replace with
// Replaced with
webFrame.setVisualZoomLevelLimits(1, 2)
```
## `<webview>`
```js
// Deprecated
// Removed
webview.setZoomLevelLimits(1, 2)
// Replace with
// Replaced with
webview.setVisualZoomLevelLimits(1, 2)
```