From ae933140af486fae4883590f1468f6c714fffe16 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 8 Sep 2016 09:15:05 -0700 Subject: [PATCH] Add variables to options example --- docs/tutorial/planned-breaking-changes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/planned-breaking-changes.md b/docs/tutorial/planned-breaking-changes.md index b28a9844aa77..896fd07000b3 100644 --- a/docs/tutorial/planned-breaking-changes.md +++ b/docs/tutorial/planned-breaking-changes.md @@ -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`