Skip to content

Commit

Permalink
removed comments in menu.js and fixes brave#13189 (brave#13386)
Browse files Browse the repository at this point in the history
* removed comments in menu.js

* remove more comments
  • Loading branch information
irrationalRock authored and bsclifton committed Mar 6, 2018
1 parent ab32f5e commit 43232e0
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions app/browser/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,6 @@ const createViewSubmenu = () => {
}
},
CommonMenu.separatorMenuItem,
/*
{
label: locale.translation('toolbars'),
visible: false
submenu: [
{label: 'Favorites Bar', accelerator: 'Alt+CmdOrCtrl+B'},
{label: 'Tab Bar'},
{label: 'Address Bar', accelerator: 'Alt+CmdOrCtrl+A'},
{label: 'Tab Previews', accelerator: 'Alt+CmdOrCtrl+P'}
]
},
CommonMenu.separatorMenuItem,
*/
{
label: locale.translation('stop'),
accelerator: isDarwin ? 'Cmd+.' : 'Esc',
Expand All @@ -238,31 +225,6 @@ const createViewSubmenu = () => {
CommonMenu.reloadPageMenuItem(),
CommonMenu.cleanReloadMenuItem(),
CommonMenu.separatorMenuItem,
/*
{
label: locale.translation('readingView'),
visible: false,
accelerator: 'Alt+CmdOrCtrl+R'
}, {
label: locale.translation('tabManager'),
visible: false,
accelerator: 'Alt+CmdOrCtrl+M'
},
CommonMenu.separatorMenuItem,
{
label: locale.translation('textEncoding'),
visible: false
submenu: [
{label: 'Autodetect', submenu: []},
CommonMenu.separatorMenuItem,
{label: 'Unicode'},
{label: 'Western'},
CommonMenu.separatorMenuItem,
{label: 'etc...'}
]
},
CommonMenu.separatorMenuItem,
*/
{
label: locale.translation('toggleDeveloperTools'),
accelerator: isDarwin ? 'Cmd+Alt+I' : 'Ctrl+Shift+I',
Expand Down Expand Up @@ -330,14 +292,6 @@ const createHistorySubmenu = () => {
}
},
CommonMenu.separatorMenuItem,
/*
{
label: locale.translation('showAllHistory'),
accelerator: 'CmdOrCtrl+Y',
visible: false
},
CommonMenu.separatorMenuItem,
*/
{
label: locale.translation('clearBrowsingData'),
accelerator: 'Shift+CmdOrCtrl+Delete',
Expand Down

0 comments on commit 43232e0

Please sign in to comment.