mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Add ReactEditorView::getPane for backward-compatibility
This commit is contained in:
@@ -21,3 +21,6 @@ class ReactEditorView extends View
|
||||
React.unmountComponentAtNode(@element)
|
||||
@attached = false
|
||||
@trigger 'editor:detached', this
|
||||
|
||||
getPane: ->
|
||||
@closest('.pane').view()
|
||||
|
||||
Reference in New Issue
Block a user