mirror of
https://github.com/atom/atom.git
synced 2026-02-09 14:15:24 -05:00
Event names are present tense, so buffer emits 'path-change'
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user