Update src/context-menu-manager.coffee

Co-authored-by: Sadick <sadickjunior@gmail.com>
This commit is contained in:
sibaki_girls 2021-07-04 04:02:26 +09:00 committed by GitHub
parent 31422befed
commit 31c91de00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,7 @@ class ContextMenuManager
# with the following argument:
# * `event` The click event that deployed the context menu.
#
# * `id` (internal) The {String} menu id, which is used only in javascript code, is not used in menu template.
# For further information on the `id`, see [Electron MenuItem](https://www.electronjs.org/docs/api/menu-item#class-menuitem)).
#
# * `id` (internal) A {String} containing the menu item's id.
# Returns a {Disposable} on which `.dispose()` can be called to remove the
# added menu items.
add: (itemsBySelector, throwOnInvalidSelector = true) ->