From 589585a269ed39f65d75d1da0ad3ed014004d4c3 Mon Sep 17 00:00:00 2001 From: Kewde Date: Wed, 13 Sep 2017 20:53:30 +0000 Subject: [PATCH] Fix examples w -> win --- docs/api/sandbox-option.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/sandbox-option.md b/docs/api/sandbox-option.md index b507427f8f0f..1b35ef6256dd 100644 --- a/docs/api/sandbox-option.md +++ b/docs/api/sandbox-option.md @@ -47,7 +47,7 @@ app.on('ready', () => { sandbox: true } }) - w.loadURL('http://google.com') + win.loadURL('http://google.com') }) ``` @@ -69,7 +69,7 @@ let win app.on('ready', () => { // no need to pass `sandbox: true` since `--enable-sandbox` was enabled. win = new BrowserWindow() - w.loadURL('http://google.com') + win.loadURL('http://google.com') }) ``` @@ -104,7 +104,7 @@ app.on('ready', () => { preload: 'preload.js' } }) - w.loadURL('http://google.com') + win.loadURL('http://google.com') }) ```