From dc22c0260e55121b2930f8bf8761271ba977503f Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 7 Feb 2024 02:55:48 -0500 Subject: Update application init process (#634) --- ext/js/background/background-main.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ext/js/background') 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 . */ -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(); } -- cgit v1.2.3