Fix indentation in menu template example

This commit is contained in:
Kevin Sawicki 2016-11-23 14:34:55 -08:00
parent 27625d2665
commit 9eb521fb38
3 changed files with 15 additions and 12 deletions

View file

@ -95,7 +95,8 @@ const dockMenu = Menu.buildFromTemplate([
submenu: [
{label: 'Basic'},
{label: 'Pro'}
]},
]
},
{label: 'New Command...'}
])
app.dock.setMenu(dockMenu)

View file

@ -75,7 +75,8 @@ const dockMenu = Menu.buildFromTemplate([
submenu: [
{label: 'Basic'},
{label: 'Pro'}
]},
]
},
{label: 'New Command...'}
])
app.dock.setMenu(dockMenu)

View file

@ -85,7 +85,8 @@ const dockMenu = Menu.buildFromTemplate([
submenu: [
{label: 'Basic'},
{label: 'Pro'}
]},
]
},
{label: 'New Command...'}
])
app.dock.setMenu(dockMenu)