mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
fixup! Clear atom.commands after each spec
This commit is contained in:
@@ -84,6 +84,9 @@ class CommandRegistry
|
||||
|
||||
commands
|
||||
|
||||
clear: ->
|
||||
@listenersByCommandName = {}
|
||||
|
||||
class CommandListener
|
||||
constructor: (@selector, @callback) ->
|
||||
@specificity = (SpecificityCache[@selector] ?= specificity(@selector))
|
||||
|
||||
Reference in New Issue
Block a user