Fix linting errors around spacing and semicolons

This commit is contained in:
Kevin Sawicki 2017-02-10 08:49:13 -08:00 committed by GitHub
parent 035d9df29b
commit e85d2f00dd

View file

@ -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'