Add variables to options example

This commit is contained in:
Kevin Sawicki 2016-09-08 09:15:05 -07:00
parent d1876aa313
commit ae933140af

View file

@ -9,9 +9,11 @@ warnings will be added at least 90 days beforehand.
```js
// Deprecated
new BrowserWindow({webPreferences: {blinkFeatures: ''}})
let optionsA = {webPreferences: {blinkFeatures: ''}}
let windowA = new BrowserWindow(optionsA)
// Replace with
new BrowserWindow({webPreferences: {enableBlinkFeatures: ''}})
let optionsB = {webPreferences: {enableBlinkFeatures: ''}}
let windowB = new BrowserWindow(optionsB)
```
## `clipboard`