From 313bacf9dc53585ad59110ce3f29f152f444b927 Mon Sep 17 00:00:00 2001 From: sota1235 Date: Sat, 22 Apr 2017 13:00:25 +0900 Subject: [PATCH] modify: fix for ESLint --- lib/main-menu.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/main-menu.js b/lib/main-menu.js index 70a00bc6..6c239771 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -13,31 +13,31 @@ const boost = macOS submenu: [ { label: 'About Boostnote', - selector: 'orderFrontStandardAboutPanel:', + selector: 'orderFrontStandardAboutPanel:' }, { - type: 'separator', + type: 'separator' }, { label: 'Hide Boostnote', accelerator: 'Command+H', - selector: 'hide:', + selector: 'hide:' }, { label: 'Hide Others', accelerator: 'Command+Shift+H', - selector: 'hideOtherApplications:', + selector: 'hideOtherApplications:' }, { label: 'Show All', - selector: 'unhideAllApplications:', + selector: 'unhideAllApplications:' }, { - type: 'separator', + type: 'separator' }, { label: 'Quit Boostnote', - role: 'quit', + role: 'quit' } ] } @@ -155,14 +155,14 @@ const view = { { label: 'Reload', accelerator: 'CommandOrControl+R', - click() { + click () { BrowserWindow.getFocusedWindow().reload() } }, { label: 'Toggle Developer Tools', accelerator: macOS ? 'Command+Alt+I' : 'Control+Shift+I', - click() { + click () { BrowserWindow.getFocusedWindow().toggleDevTools() } },