From 8b26904771ad5d865874da92537a2c21996c1fe2 Mon Sep 17 00:00:00 2001 From: rehez Date: Mon, 15 Aug 2016 16:31:58 +0200 Subject: [PATCH] fix lintin --- electron/js/menu/context.js | 2 +- electron/js/menu/custom-context.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/js/menu/context.js b/electron/js/menu/context.js index f8310cec11b..114f4c9c4e0 100644 --- a/electron/js/menu/context.js +++ b/electron/js/menu/context.js @@ -139,7 +139,7 @@ window.addEventListener('customContextMenu', function(e) { const element = e.target; customContext.fromElement(element).popup(remote.getCurrentWindow()); e.stopPropagation(); -}, true) +}, true); function savePicture(fileName, url) { diff --git a/electron/js/menu/custom-context.js b/electron/js/menu/custom-context.js index e0461e78da6..fd8434b2439 100644 --- a/electron/js/menu/custom-context.js +++ b/electron/js/menu/custom-context.js @@ -19,7 +19,7 @@ 'use strict'; -const {remote, ipcRenderer} = require('electron'); +const {remote} = require('electron'); const Menu = remote.Menu; const MenuItem = remote.MenuItem;