Bug 912121 - Rewrite require / import to match source tree. rs=devtools

In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
This commit is contained in:
J. Ryan Stinnett
2015-09-21 12:04:18 -05:00
parent 2df2dd8be3
commit 2dada8f365
786 changed files with 2673 additions and 2406 deletions

View File

@@ -10,7 +10,7 @@ const { Task } = require("resource://gre/modules/Task.jsm");
loader.lazyRequireGetter(this, "promise");
loader.lazyRequireGetter(this, "EventEmitter",
"devtools/toolkit/event-emitter");
"devtools/shared/event-emitter");
function PerformancePanel(iframeWindow, toolbox) {
this.panelWin = iframeWindow;