Created
April 4, 2014 04:51
-
-
Save fundon/9968379 to your computer and use it in GitHub Desktop.
subscribe pane active-changed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@subscribe @paneView, 'pane:active-item-changed', => | |
@log 'pane:active-item-changed' | |
#@onActiveItemChanged() | |
@subscribe atom.workspaceView, 'pane-container:active-pane-item-changed', => | |
@log 'pane-container:active-pane-item-changed' | |
#@onActiveItemChanged() | |
@subscribe @paneView.model.$activeItem, (item) => | |
@log 233, item is @activeItem | |
@log item, @activeItem | |
return if item is @activeItem | |
@activeItem = item | |
@log 'set @activeItem' | |
#@onActiveItemChanged(item) | |
@subscribe @paneView.model.$active, (item) => | |
@log '@active', item |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment