Add package namespace to command registration

This commit is contained in:
Kevin Sawicki 2013-02-04 20:56:25 -08:00
parent b0b38079e0
commit 651d305f76

View File

@ -22,7 +22,8 @@ class BracketMatcher extends AtomPackage
subscribeToEditor: (editor) ->
editor.on 'cursor:moved.bracket-matcher', => @updateMatch(editor)
editor.command 'editor:go-to-matching-bracket', => @goToMatchingPair(editor)
editor.command 'editor:go-to-matching-bracket.bracket-matcher', =>
@goToMatchingPair(editor)
editor.on 'editor:will-be-removed', => editor.off('.bracket-matcher')
goToMatchingPair: (editor) ->