mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user