Rename attach to load

This commit is contained in:
Kevin Sawicki
2013-01-22 12:14:43 -08:00
parent 513a29d70e
commit a966f1d7c7
7 changed files with 15 additions and 14 deletions

View File

@@ -10,8 +10,8 @@ class DeferredAtomPackage extends AtomPackage
activate: (@rootView, @state) ->
@instance = null
for event in @attachEvents
@rootView.command event, (e) => @onAttachEvent(e, @getInstance())
for event in @loadEvents
@rootView.command event, (e) => @onLoadEvent(e, @getInstance())
this
deactivate: -> @instance?.deactivate?()