summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-05-12 17:41:08 +0200
committerWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-05-12 17:41:08 +0200
commitf6a7f24e61a78f197250875ac9833f497a455d20 (patch)
tree9549ac201aeb8f8ed1cfef6270bae9c459476577 /common
parent55fb3e4bd833f042a82657cc75e7e4c657402f9e (diff)
downloadbrowser-extension-f6a7f24e61a78f197250875ac9833f497a455d20.tar.gz
browser-extension-f6a7f24e61a78f197250875ac9833f497a455d20.zip
rename "bundles" to "bags"
Diffstat (limited to 'common')
-rw-r--r--common/storage_client.js4
-rw-r--r--common/stored_types.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/common/storage_client.js b/common/storage_client.js
index 39ece44..f1ae272 100644
--- a/common/storage_client.js
+++ b/common/storage_client.js
@@ -55,12 +55,12 @@
}
var scripts = list("scripts", TYPE_PREFIX.SCRIPT);
- var bundles = list("bundles", TYPE_PREFIX.BUNDLE);
+ var bags = list("bags", TYPE_PREFIX.BAG);
var pages = list("pages", TYPE_PREFIX.PAGE);
const list_by_prefix = {
[TYPE_PREFIX.SCRIPT] : scripts,
- [TYPE_PREFIX.BUNDLE] : bundles,
+ [TYPE_PREFIX.BAG] : bags,
[TYPE_PREFIX.PAGE] : pages
};
diff --git a/common/stored_types.js b/common/stored_types.js
index de0ec71..31254a9 100644
--- a/common/stored_types.js
+++ b/common/stored_types.js
@@ -21,20 +21,20 @@
(() => {
const TYPE_PREFIX = {
PAGE : "p",
- BUNDLE : "b",
+ BAG : "b",
SCRIPT : "s",
VAR : "_"
};
const TYPE_NAME = {
[TYPE_PREFIX.PAGE] : "page",
- [TYPE_PREFIX.BUNDLE] : "bundle",
+ [TYPE_PREFIX.BAG] : "bag",
[TYPE_PREFIX.SCRIPT] : "script"
}
const list_prefixes = [
TYPE_PREFIX.PAGE,
- TYPE_PREFIX.BUNDLE,
+ TYPE_PREFIX.BAG,
TYPE_PREFIX.SCRIPT
];