mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Merge branch 'master' into snippets
Conflicts: src/app/window.coffee
This commit is contained in:
@@ -12,9 +12,6 @@ class Buffer
|
||||
lines: null
|
||||
path: null
|
||||
|
||||
@deserialize: (state, project) ->
|
||||
project.open(state.path)
|
||||
|
||||
constructor: (path) ->
|
||||
@id = @constructor.idCounter++
|
||||
@setPath(path)
|
||||
@@ -26,9 +23,6 @@ class Buffer
|
||||
@undoManager = new UndoManager(this)
|
||||
@modified = false
|
||||
|
||||
serialize: ->
|
||||
path: @getPath()
|
||||
|
||||
getPath: ->
|
||||
@path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user