summaryrefslogtreecommitdiff
path: root/ext/js/background/background-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-07 02:55:48 -0500
committerGitHub <noreply@github.com>2024-02-07 07:55:48 +0000
commitdc22c0260e55121b2930f8bf8761271ba977503f (patch)
tree1c5cf6d59fb600dfc03e46f11d3fba3dfb30c8f1 /ext/js/background/background-main.js
parent376bac7195bf2114da8b234ffa64af9751b4466d (diff)
Update application init process (#634)
Diffstat (limited to 'ext/js/background/background-main.js')
-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();
}