Add Returns line to all the event subscription methods

This commit is contained in:
Ben Ogle
2014-09-10 17:06:51 -07:00
parent d55f5cba78
commit f8b17b6b3c
8 changed files with 70 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ class Package
# Essential: Invoke the given callback when all packages have been activated.
#
# * `callback` {Function}
#
# Returns a {Disposable} on which `.dispose()` can be called to unsubscribe.
onDidDeactivate: (callback) ->
@emitter.on 'did-deactivate', callback