mirror of
https://github.com/atom/atom.git
synced 2026-02-17 01:51:54 -05:00
Eliminate selector option in tooltip manager API
No packages use it currently, and it's really complex to support so we should kill it while we have the chance. When it comes time to rewrite the tooltip code or add features, not worrying about selectors will make it easier.
This commit is contained in:
@@ -122,6 +122,7 @@ class TooltipManager
|
||||
else if keystroke?
|
||||
options.title = getKeystroke(bindings)
|
||||
|
||||
delete options.selector
|
||||
options = _.defaults(options, @defaults)
|
||||
if options.trigger is 'hover'
|
||||
options = _.defaults(options, @hoverDefaults)
|
||||
|
||||
Reference in New Issue
Block a user