1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

modify: fix for ESLint

This commit is contained in:
sota1235
2017-04-22 13:00:25 +09:00
parent db468fc095
commit 313bacf9dc

View File

@@ -13,31 +13,31 @@ const boost = macOS
submenu: [ submenu: [
{ {
label: 'About Boostnote', label: 'About Boostnote',
selector: 'orderFrontStandardAboutPanel:', selector: 'orderFrontStandardAboutPanel:'
}, },
{ {
type: 'separator', type: 'separator'
}, },
{ {
label: 'Hide Boostnote', label: 'Hide Boostnote',
accelerator: 'Command+H', accelerator: 'Command+H',
selector: 'hide:', selector: 'hide:'
}, },
{ {
label: 'Hide Others', label: 'Hide Others',
accelerator: 'Command+Shift+H', accelerator: 'Command+Shift+H',
selector: 'hideOtherApplications:', selector: 'hideOtherApplications:'
}, },
{ {
label: 'Show All', label: 'Show All',
selector: 'unhideAllApplications:', selector: 'unhideAllApplications:'
}, },
{ {
type: 'separator', type: 'separator'
}, },
{ {
label: 'Quit Boostnote', label: 'Quit Boostnote',
role: 'quit', role: 'quit'
} }
] ]
} }
@@ -155,14 +155,14 @@ const view = {
{ {
label: 'Reload', label: 'Reload',
accelerator: 'CommandOrControl+R', accelerator: 'CommandOrControl+R',
click() { click () {
BrowserWindow.getFocusedWindow().reload() BrowserWindow.getFocusedWindow().reload()
} }
}, },
{ {
label: 'Toggle Developer Tools', label: 'Toggle Developer Tools',
accelerator: macOS ? 'Command+Alt+I' : 'Control+Shift+I', accelerator: macOS ? 'Command+Alt+I' : 'Control+Shift+I',
click() { click () {
BrowserWindow.getFocusedWindow().toggleDevTools() BrowserWindow.getFocusedWindow().toggleDevTools()
} }
}, },