Skip to content

Commit

Permalink
Pass view registry to pane container
Browse files Browse the repository at this point in the history
Summary: atom/atom#13977 updates the PaneContainer constructor to require the view registry. This is a forwards-compatible change.

Reviewed By: hansonw

Differential Revision: D4800218

fbshipit-source-id: 9f751aa21c5ac1d37ae4ba021cc6e9ed84dba507
  • Loading branch information
matthewwithanm authored and zardra committed Apr 14, 2017
1 parent 13ab81d commit 0385f17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/commons-atom/create-pane-container.js
Expand Up @@ -11,6 +11,7 @@
export default function createPaneContainer(): Object {
const PaneContainer = atom.workspace.paneContainer.constructor;
return new PaneContainer({
viewRegistry: atom.views,
config: atom.config,
applicationDelegate: atom.applicationDelegate,
notificationManager: atom.notifications,
Expand Down

0 comments on commit 0385f17

Please sign in to comment.