mirror of
https://github.com/atom/atom.git
synced 2026-02-17 01:51:54 -05:00
Don't use atom.{notifications,config,deserializers,confirm} in Pane
Still need to get rid of one use of showSaveDialogSync
This commit is contained in:
@@ -13,12 +13,12 @@ class PaneContainer extends Model
|
||||
constructor: (params) ->
|
||||
super
|
||||
|
||||
{@config, @confirm} = params
|
||||
{@config, notificationManager, deserializerManager, confirm} = params
|
||||
@emitter = new Emitter
|
||||
@subscriptions = new CompositeDisposable
|
||||
@itemRegistry = new ItemRegistry
|
||||
|
||||
@setRoot(new Pane({container: this, @config, @confirm}))
|
||||
@setRoot(new Pane({container: this, @config, notificationManager, deserializerManager, confirm}))
|
||||
@setActivePane(@getRoot())
|
||||
@monitorActivePaneItem()
|
||||
@monitorPaneItems()
|
||||
|
||||
Reference in New Issue
Block a user