⬆️ 👕 updated to eslint 2.1.0

Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0

And made sure the eslint tasks passed
This commit is contained in:
cesine 2016-02-15 21:26:25 -05:00
parent f3f6fa958e
commit 2aff0c47d0
16 changed files with 28 additions and 27 deletions

View file

@ -74,7 +74,7 @@ app.on('ready', function() {
// Send auto updater errors to window to be verified in specs
electron.autoUpdater.on('error', function (error) {
window.send('auto-updater-error', error.message)
window.send('auto-updater-error', error.message);
});
window = new BrowserWindow({
@ -108,7 +108,7 @@ app.on('ready', function() {
// reply the result to renderer for verifying
var downloadFilePath = path.join(__dirname, '..', 'fixtures', 'mock.pdf');
ipcMain.on('set-download-option', function(event, need_cancel, prevent_default) {
window.webContents.session.once('will-download', function(e, item, webContents) {
window.webContents.session.once('will-download', function(e, item) {
if (prevent_default) {
e.preventDefault();
const url = item.getURL();