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

@ -165,11 +165,11 @@ instance, failing to do so may result in unexpected behavior. For example:
```javascript ```javascript
myBrowserWindow.webContents.on('new-window', (event, url) => { myBrowserWindow.webContents.on('new-window', (event, url) => {
event.preventDefault() event.preventDefault()
const win = new BrowserWindow({ show: false }) const win = new BrowserWindow({show: false})
win.once('ready-to-show', () => win.show()) win.once('ready-to-show', () => win.show())
win.loadURL(url) win.loadURL(url)
event.newGuest = win event.newGuest = win
}); })
``` ```
#### Event: 'will-navigate' #### Event: 'will-navigate'