Skip to content

Commit

Permalink
fix extra closing parenthesis (#16528)
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKIO135 authored and John Kleinschmidt committed Jan 25, 2019
1 parent f747a66 commit fb8bde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/menu.md
Expand Up @@ -253,7 +253,7 @@ const { remote } = require('electron')
const { Menu, MenuItem } = remote
const menu = new Menu()
menu.append(new MenuItem({ label: 'MenuItem1', click() { console.log('item 1 clicked') } })))
menu.append(new MenuItem({ label: 'MenuItem1', click() { console.log('item 1 clicked') } }))
menu.append(new MenuItem({ type: 'separator' }))
menu.append(new MenuItem({ label: 'MenuItem2', type: 'checkbox', checked: true }))
Expand Down

0 comments on commit fb8bde0

Please sign in to comment.