summaryrefslogtreecommitdiff
path: root/ext/bg/js/background-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/background-main.js')
-rw-r--r--ext/bg/js/background-main.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/bg/js/background-main.js b/ext/bg/js/background-main.js
index c000c38d..24117f4e 100644
--- a/ext/bg/js/background-main.js
+++ b/ext/bg/js/background-main.js
@@ -19,9 +19,7 @@
* Backend
*/
-async function main() {
+(async () => {
window.yomichanBackend = new Backend();
await window.yomichanBackend.prepare();
-}
-
-main();
+})();