From e85d2f00dd9ba2b57a480f926583c1fe1ea6b6bd Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 10 Feb 2017 08:49:13 -0800 Subject: [PATCH] Fix linting errors around spacing and semicolons --- docs/api/web-contents.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 8bbacd60ea54..959b6fd6e3e4 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -164,12 +164,12 @@ instance, failing to do so may result in unexpected behavior. For example: ```javascript myBrowserWindow.webContents.on('new-window', (event, url) => { - event.preventDefault() - const win = new BrowserWindow({ show: false }) - win.once('ready-to-show', () => win.show()) - win.loadURL(url) - event.newGuest = win -}); + event.preventDefault() + const win = new BrowserWindow({show: false}) + win.once('ready-to-show', () => win.show()) + win.loadURL(url) + event.newGuest = win +}) ``` #### Event: 'will-navigate'