Remove linter errors

This commit is contained in:
Kevin Sawicki 2017-01-12 10:28:02 -08:00
parent 8098ca3b66
commit 97dd680b32
2 changed files with 1 additions and 2 deletions

View file

@ -1018,7 +1018,7 @@ describe('BrowserWindow module', function () {
w = new BrowserWindow({ w = new BrowserWindow({
show: false, show: false,
webPreferences: { webPreferences: {
sandbox: true, sandbox: true
} }
}) })
const initialWebContents = webContents.getAllWebContents() const initialWebContents = webContents.getAllWebContents()

View file

@ -246,7 +246,6 @@ ipcMain.on('create-window-with-options-cycle', (event) => {
event.returnValue = window.id event.returnValue = window.id
}) })
ipcMain.on('prevent-next-new-window', (event, id) => { ipcMain.on('prevent-next-new-window', (event, id) => {
webContents.fromId(id).once('new-window', event => event.preventDefault()) webContents.fromId(id).once('new-window', event => event.preventDefault())
}) })