]> khamidou — GitHub mirrors - electron.git/commitdiff
--harmony_collections is not needed anymore
authorCheng Zhao <zcbenz@gmail.com>
Thu, 16 Oct 2014 12:59:01 +0000 (20:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 16 Oct 2014 12:59:01 +0000 (20:59 +0800)
atom/browser/default_app/default_app.js

index 844c887d1d9fb8ec095b4b726c0584a93d58bb28..31476403ece9fbf3023866bdb8dff4371e31c845 100644 (file)
@@ -12,8 +12,6 @@ app.on('window-all-closed', function() {
 });
 
 app.on('ready', function() {
-  app.commandLine.appendSwitch('js-flags', '--harmony_collections');
-
   mainWindow = new BrowserWindow({
     width: 800,
     height: 600,
@@ -155,11 +153,11 @@ app.on('ready', function() {
         label: 'File',
         submenu: [
           {
-            label: 'Open',
+            label: '&Open',
             accelerator: 'Ctrl+O',
           },
           {
-            label: 'Close',
+            label: '&Close',
             accelerator: 'Ctrl+W',
             click: function() { mainWindow.close(); }
           },
@@ -169,16 +167,16 @@ app.on('ready', function() {
         label: 'View',
         submenu: [
           {
-            label: 'Reload',
+            label: '&Reload',
             accelerator: 'Ctrl+R',
             click: function() { mainWindow.restart(); }
           },
           {
-            label: 'Enter Fullscreen',
+            label: '&Enter Fullscreen',
             click: function() { mainWindow.setFullScreen(true); }
           },
           {
-            label: 'Toggle DevTools',
+            label: '&Toggle DevTools',
             accelerator: 'Alt+Ctrl+I',
             click: function() { mainWindow.toggleDevTools(); }
           },