mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Rename attach to load
This commit is contained in:
@@ -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?()
|
||||
|
||||
Reference in New Issue
Block a user