aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background')
-rw-r--r--ext/js/background/background-main.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/js/background/background-main.js b/ext/js/background/background-main.js
index b63b4396..0f1ddeeb 100644
--- a/ext/js/background/background-main.js
+++ b/ext/js/background/background-main.js
@@ -16,15 +16,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {Application} from '../application.js';
+import {WebExtension} from '../extension/web-extension.js';
import {Backend} from './backend.js';
/** Entry point. */
async function main() {
- const application = new Application();
- application.prepare(true);
+ const webExtension = new WebExtension();
- const backend = new Backend(application.webExtension);
+ const backend = new Backend(webExtension);
await backend.prepare();
}