mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Don't mutate Pane serialized state
This commit is contained in:
@@ -41,13 +41,13 @@ class Pane {
|
||||
)
|
||||
}
|
||||
|
||||
return new Pane(Object.assign(state, {
|
||||
return new Pane(Object.assign({
|
||||
deserializerManager: deserializers,
|
||||
notificationManager: notifications,
|
||||
viewRegistry: views,
|
||||
config,
|
||||
applicationDelegate
|
||||
}))
|
||||
}, state))
|
||||
}
|
||||
|
||||
constructor (params = {}) {
|
||||
|
||||
Reference in New Issue
Block a user