Rename 'editor-path-change' to 'editor:path-changed'

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-01-04 11:11:09 -07:00
parent 4a84b423e4
commit 0589012e86
6 changed files with 10 additions and 10 deletions

View File

@@ -477,9 +477,9 @@ class Editor extends View
@showBufferConflictAlert(@activeEditSession)
@activeEditSession.on "path-changed.editor", =>
@trigger 'editor-path-change'
@trigger 'editor:path-changed'
@trigger 'editor-path-change'
@trigger 'editor:path-changed'
@trigger 'editor:active-edit-session-changed', [@activeEditSession, index]
@resetDisplay()

View File

@@ -174,7 +174,7 @@ class RootView extends View
editor.addClass('active')
if not editor.mini
editor.on 'editor-path-change.root-view', =>
editor.on 'editor:path-changed.root-view', =>
@trigger 'active-editor-path-change', editor.getPath()
if not previousActiveEditor or editor.getPath() != previousActiveEditor.getPath()
@trigger 'active-editor-path-change', editor.getPath()