Bug 1450195 - Remove old-event-emitter usage from gcli; r=miker.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 30 Mar 2018 09:20:11 +0200
changeset 776575 fc4a2fff3c89b8691a81a8c101ca94251115f000
parent 776574 c3b12adc84b141d795fc1c86d9c0754c3b4e4241
child 776576 20614b63d378254fc8f3caecaec9b02cd7522e2c
push id104907
push userbmo:ato@sny.no
push dateTue, 03 Apr 2018 10:28:20 +0000
reviewersmiker
bugs1450195
milestone61.0a1
Bug 1450195 - Remove old-event-emitter usage from gcli; r=miker. MozReview-Commit-ID: IYAQJ4KqEet
devtools/shared/gcli/command-state.js
--- a/devtools/shared/gcli/command-state.js
+++ b/devtools/shared/gcli/command-state.js
@@ -1,15 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
-const EventEmitter = require("devtools/shared/old-event-emitter");
+const EventEmitter = require("devtools/shared/event-emitter");
 
 const getTargetId = ({tab}) => tab.linkedBrowser.outerWindowID;
 const enabledCommands = new Map();
 
 /**
  * The `CommandState` is a singleton that provides utility methods to keep the commands'
  * state in sync between the toolbox, the toolbar and the content.
  */