mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Don't clone state in EditSession.getState()
This commit is contained in:
@@ -108,7 +108,7 @@ class EditSession
|
||||
@off()
|
||||
|
||||
serialize: -> @state.clone()
|
||||
getState: -> @serialize()
|
||||
getState: -> @state
|
||||
|
||||
# Creates an {EditSession} with the same initial state
|
||||
copy: ->
|
||||
|
||||
Reference in New Issue
Block a user