diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2018-05-24 17:12:27 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2018-05-24 17:13:21 +0200 |
commit | 6f35ddd792c5a3e9cc462c31cb1166fa1fbbdb09 (patch) | |
tree | 76a0b0b76206d46ef1f2d021c14cb479a677dbea /main.js | |
parent | f59a1f62b3e43904f0f20544b1083483cc448c10 (diff) |
Fix eslint warnings
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* global __dirname, process */ -// Electron includes + const electron = require('electron'); const APP = electron.app; const BrowserWindow = electron.BrowserWindow; @@ -55,7 +55,7 @@ const jitsiMeetWindowOptions = { function setAPPListeners() { APP.on('ready', createJitsiMeetWindow); APP.on('window-all-closed', () => { - // Don't quit the application for Mac OS + // Don't quit the application for macOS. if (process.platform !== 'darwin') { APP.quit(); } @@ -66,6 +66,7 @@ function setAPPListeners() { } }); APP.on('certificate-error', + // eslint-disable-next-line max-params (event, webContents, url, error, certificate, callback) => { if (url.startsWith('https://localhost')) { event.preventDefault(); |