Event names are present tense, so buffer emits 'path-change'

This commit is contained in:
Corey Johnson
2012-03-30 11:26:34 -07:00
parent 90242a787f
commit 001d866bec
3 changed files with 8 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ class Buffer
setPath: (path) ->
@url = path # we want this to be path on master, but let's not break it on a branch
@path = path
@trigger "path-changed", this
@trigger "path-change", this
getText: ->
@lines.join('\n')