Remove lint errors

This commit is contained in:
Kevin Sawicki 2017-01-04 14:57:51 -08:00
parent fd23c7bf76
commit 1f07977f09
2 changed files with 6 additions and 7 deletions

View file

@ -46,7 +46,7 @@ describe('chromium feature', function () {
var w = null var w = null
afterEach(function () { afterEach(function () {
return closeWindow(w).then(() => w = null) return closeWindow(w).then(function () { w = null })
}) })
it('is set correctly when window is not shown', function (done) { it('is set correctly when window is not shown', function (done) {
@ -157,7 +157,7 @@ describe('chromium feature', function () {
var w = null var w = null
afterEach(function () { afterEach(function () {
return closeWindow(w).then(() => w = null) return closeWindow(w).then(function () { w = null })
}) })
it('should register for file scheme', function (done) { it('should register for file scheme', function (done) {
@ -190,7 +190,7 @@ describe('chromium feature', function () {
let w = null let w = null
afterEach(() => { afterEach(() => {
return closeWindow(w).then(() => w = null) return closeWindow(w).then(function () { w = null })
}) })
it('returns a BrowserWindowProxy object', function () { it('returns a BrowserWindowProxy object', function () {
@ -340,7 +340,7 @@ describe('chromium feature', function () {
let w = null let w = null
afterEach(function () { afterEach(function () {
return closeWindow(w).then(() => w = null) return closeWindow(w).then(function () { w = null })
}) })
it('is null for main window', function (done) { it('is null for main window', function (done) {

View file

@ -231,7 +231,6 @@ ipcMain.on('close-on-will-navigate', (event, id) => {
}) })
}) })
ipcMain.on('create-window-with-options-cycle', (event) => { ipcMain.on('create-window-with-options-cycle', (event) => {
// This can't be done over remote since cycles are already // This can't be done over remote since cycles are already
// nulled out at the IPC layer // nulled out at the IPC layer