This commit is contained in:
probablycorey
2013-10-25 15:19:20 -07:00
parent b5b07c1052
commit bb281ce5af
3 changed files with 3 additions and 3 deletions

View File

@@ -955,7 +955,7 @@ describe 'TextBuffer', ->
filePath = temp.openSync('atom').path
fs.writeSync(filePath, "words")
buffer = project.openSync(filePath).buffer
{buffer} = project.openSync(filePath)
buffer.setText("BUFFER CHANGE")
state = buffer.serialize()

View File

@@ -112,7 +112,7 @@ class File
exists: ->
fsUtils.exists(@getPath())
setDigest: (contents)->
setDigest: (contents) ->
@digest = crypto.createHash('sha1').update(contents ? '').digest('hex')
getDigest: ->

View File

@@ -1,5 +1,5 @@
{Emitter, Subscriber} = require 'emissary'
crypto = require 'crypto'
{Emitter, Subscriber} = require 'emissary'
guid = require 'guid'
Q = require 'q'
{P} = require 'scandal'