Rename Editor attach and remove events in accordance w/ new scheme

'editor-open' -> 'editor:attached'
'before-remove' -> 'editor:will-be-removed'
This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-01-04 11:19:09 -07:00
parent 8e835acea4
commit 8098ee69f3
7 changed files with 10 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ module.exports =
activate: (@rootView) ->
@loadSnippets()
@rootView.on 'editor-open', (e, editor) => @enableSnippetsInEditor(editor)
@rootView.on 'editor:attached', (e, editor) => @enableSnippetsInEditor(editor)
loadSnippets: ->
snippetsDir = fs.join(config.configDirPath, 'snippets')