Fix indentation in menu template example
authorKevin Sawicki <kevinsawicki@gmail.com>
Wed, 23 Nov 2016 22:34:55 +0000 (14:34 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Wed, 23 Nov 2016 22:34:55 +0000 (14:34 -0800)
docs-translations/jp/tutorial/desktop-environment-integration.md
docs-translations/pt-BR/tutorial/desktop-environment-integration.md
docs-translations/zh-CN/tutorial/desktop-environment-integration.md

index 5ade1b4..3bbdc0e 100644 (file)
@@ -92,10 +92,11 @@ const {app, Menu} = require('electron')
 const dockMenu = Menu.buildFromTemplate([
   {label: 'New Window', click () { console.log('New Window') }},
   {label: 'New Window with Settings',
-  submenu: [
-    {label: 'Basic'},
-    {label: 'Pro'}
-  ]},
+    submenu: [
+      {label: 'Basic'},
+      {label: 'Pro'}
+    ]
+  },
   {label: 'New Command...'}
 ])
 app.dock.setMenu(dockMenu)
index 73765b8..5546500 100644 (file)
@@ -72,10 +72,11 @@ const {app, Menu} = require('electron')
 const dockMenu = Menu.buildFromTemplate([
   {label: 'New Window', click () { console.log('New Window') }},
   {label: 'New Window with Settings',
-  submenu: [
-    {label: 'Basic'},
-    {label: 'Pro'}
-  ]},
+    submenu: [
+      {label: 'Basic'},
+      {label: 'Pro'}
+    ]
+  },
   {label: 'New Command...'}
 ])
 app.dock.setMenu(dockMenu)
index acceee6..c41fba8 100644 (file)
@@ -82,10 +82,11 @@ const {app, Menu} = require('electron')
 const dockMenu = Menu.buildFromTemplate([
   {label: 'New Window', click () { console.log('New Window') }},
   {label: 'New Window with Settings',
-  submenu: [
-    {label: 'Basic'},
-    {label: 'Pro'}
-  ]},
+    submenu: [
+      {label: 'Basic'},
+      {label: 'Pro'}
+    ]
+  },
   {label: 'New Command...'}
 ])
 app.dock.setMenu(dockMenu)