💄 Remove confusing parentheses usage

This commit is contained in:
Nathan Sobo
2014-10-15 19:10:35 -06:00
parent ff5acb6a34
commit 06e9dbf48a

View File

@@ -341,7 +341,7 @@ class Package
# Add dummy command so it appears in menu.
# The real command will be registered on package activation
@activationCommandSubscriptions.add atom.commands.add selector, command, ->
@activationCommandSubscriptions.add(atom.commands.onWillDispatch (event) =>
@activationCommandSubscriptions.add atom.commands.onWillDispatch (event) =>
return unless event.type is command
currentTarget = event.target
while currentTarget
@@ -350,7 +350,6 @@ class Package
@activateNow()
break
currentTarget = currentTarget.parentElement
)
getActivationCommands: ->
return @activationCommands if @activationCommands?