mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
modify: fix for ESLint
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user