Bug 1780074 - Migrate newtab consumers to use ESM imports directly. r=daleharvey,application-update-reviewers,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D152114
This commit is contained in:
Mark Banner
2022-07-20 10:36:52 +00:00
parent f399fc3c21
commit 9e59e52e55
101 changed files with 464 additions and 564 deletions

View File

@@ -17,11 +17,9 @@ ChromeUtils.defineModuleGetter(
"PanelMultiView",
"resource:///modules/PanelMultiView.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"ToolbarPanelHub",
"resource://activity-stream/lib/ToolbarPanelHub.jsm"
);
ChromeUtils.defineESModuleGetters(this, {
ToolbarPanelHub: "resource://activity-stream/lib/ToolbarPanelHub.sys.mjs",
});
/**
* Maintains the state and dispatches events for the main menu panel.