aboutsummaryrefslogtreecommitdiff
path: root/common/connection_types.mjs
diff options
context:
space:
mode:
authorWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-05-12 16:00:09 +0200
committerWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-05-12 16:00:09 +0200
commit7f368d46ea06164da025c1ac4ed9a65ad23b25ef (patch)
treee5b740ebcb3cdc58e9c87f25556c20d8bfdccadd /common/connection_types.mjs
parent89db6823fae5099816732c3cd2ba39700c1c4607 (diff)
downloadbrowser-extension-7f368d46ea06164da025c1ac4ed9a65ad23b25ef.tar.gz
browser-extension-7f368d46ea06164da025c1ac4ed9a65ad23b25ef.zip
stop using js modules
Diffstat (limited to 'common/connection_types.mjs')
-rw-r--r--common/connection_types.mjs21
1 files changed, 0 insertions, 21 deletions
diff --git a/common/connection_types.mjs b/common/connection_types.mjs
deleted file mode 100644
index 12d6de3..0000000
--- a/common/connection_types.mjs
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
-* Myext background scripts message connection types "enum"
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
-
-/*
- * Those need to be strings so they can be used as 'name' parameter
- * to browser.runtime.connect()
- */
-
-const CONNECTION_TYPE = {
- REMOTE_STORAGE : "0",
- PAGE_ACTIONS : "1"
-};
-
-export default CONNECTION_TYPE;