Specs cleanup buffers

This commit is contained in:
Corey Johnson
2012-06-29 15:08:16 -07:00
parent 98393a653e
commit 801a91ec9b
21 changed files with 107 additions and 232 deletions

View File

@@ -398,7 +398,7 @@ class Editor extends View
false
getOpenBufferPaths: ->
editSession.buffer.path for editSession in @editSessions when editSession.buffer.path?
editSession.buffer.getPath() for editSession in @editSessions when editSession.buffer.getPath()?
scrollTop: (scrollTop, options) ->
return @cachedScrollTop or 0 unless scrollTop?