Move the ViewRegistry to atom.views

This commit is contained in:
Ben Ogle
2014-10-27 17:15:45 -07:00
parent c217c6544a
commit ee4116536d
12 changed files with 116 additions and 121 deletions

View File

@@ -64,7 +64,7 @@ class WorkspaceElement extends HTMLElement
getModel: -> @model
setModel: (@model) ->
@paneContainer = @model.getView(@model.paneContainer)
@paneContainer = atom.views.getView(@model.paneContainer)
@verticalAxis.appendChild(@paneContainer)
@addEventListener 'focus', @handleFocus.bind(this)