Merge branch 'master' into snippets

Conflicts:
	src/app/window.coffee
This commit is contained in:
Nathan Sobo
2012-06-20 17:11:25 -06:00
19 changed files with 254 additions and 238 deletions

View File

@@ -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