Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG
This commit is contained in:
@@ -241,7 +241,7 @@ this.commands = class extends ExtensionAPI {
|
||||
});
|
||||
}));
|
||||
},
|
||||
onCommand: new SingletonEventManager(context, "commands.onCommand", fire => {
|
||||
onCommand: new EventManager(context, "commands.onCommand", fire => {
|
||||
let listener = (eventName, commandName) => {
|
||||
fire.async(commandName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user