From: Thomas Tuts Date: Tue, 9 Jun 2015 16:15:30 +0000 (+0200) Subject: Remove trailing commas in desktop environment docs X-Git-Tag: v0.28.0~12^2~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b4790a753133fce66a430f4d1613d4ca05674988;p=electron.git Remove trailing commas in desktop environment docs --- diff --git a/docs/tutorial/desktop-environment-integration.md b/docs/tutorial/desktop-environment-integration.md index b67b252f..5dee6fdf 100644 --- a/docs/tutorial/desktop-environment-integration.md +++ b/docs/tutorial/desktop-environment-integration.md @@ -70,9 +70,9 @@ var dockMenu = Menu.buildFromTemplate([ { label: 'New Window', click: function() { console.log('New Window'); } }, { label: 'New Window with Settings', submenu: [ { label: 'Basic' }, - { label: 'Pro'}, + { label: 'Pro'} ]}, - { label: 'New Command...'}, + { label: 'New Command...'} ]); app.dock.setMenu(dockMenu); ``` @@ -119,7 +119,7 @@ app.setUserTasks([ iconPath: process.execPath, iconIndex: 0, title: 'New Window', - description: 'Create a new window', + description: 'Create a new window' } ]); ```