mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add WorkspaceView and atom.workspaceView shims
This commit is contained in:
@@ -43,6 +43,11 @@ class Atom
|
||||
@rootViewParentSelector = 'body'
|
||||
@deserializers = new DeserializerManager()
|
||||
|
||||
#TODO Remove once all `atom.rootView` references have been updated
|
||||
Object.defineProperty this, 'workspaceView',
|
||||
get: -> @rootView
|
||||
set: (workspaceView) -> @rootView = workspaceView
|
||||
|
||||
# Private: Initialize all the properties in this object.
|
||||
initialize: ->
|
||||
@unsubscribe()
|
||||
|
||||
Reference in New Issue
Block a user