mirror of
https://github.com/atom/atom.git
synced 2026-02-03 11:14:59 -05:00
Add Event.currentTargetView() and Event.targetView()
This commit is contained in:
@@ -74,3 +74,5 @@ $.fn.command = (args...) ->
|
||||
@on(args...)
|
||||
|
||||
$.Event.prototype.abortKeyBinding = ->
|
||||
$.Event.prototype.currentTargetView = -> $(this.currentTarget).view()
|
||||
$.Event.prototype.targetView = -> $(this.target).view()
|
||||
|
||||
Reference in New Issue
Block a user