aboutsummaryrefslogtreecommitdiff
path: root/html/options_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/options_main.js')
-rw-r--r--html/options_main.js24
1 files changed, 7 insertions, 17 deletions
diff --git a/html/options_main.js b/html/options_main.js
index 3620ad8..f362c6b 100644
--- a/html/options_main.js
+++ b/html/options_main.js
@@ -41,21 +41,13 @@
* proprietary program, I am not going to enforce this in court.
*/
-/*
- * IMPORTS_START
- * IMPORT get_remote_storage
- * IMPORT TYPE_PREFIX
- * IMPORT TYPE_NAME
- * IMPORT list_prefixes
- * IMPORT nice_name
- * IMPORT parse_json_with_schema
- * IMPORT get_template
- * IMPORT by_id
- * IMPORT matchers
- * IMPORT get_import_frame
- * IMPORT init_default_policy_dialog
- * IMPORTS_END
- */
+#FROM common/storage_client.js IMPORT get_remote_storage
+#FROM common/stored_types.js IMPORT TYPE_PREFIX, TYPE_NAME, \
+ list_prefixes
+#FROM common/misc.js IMPORT nice_name, matchers
+#FROM common/sanitize_JSON.js IMPORT parse_json_with_schema
+#FROM html/DOM_helpers.js IMPORT get_template, by_id
+#FROM html/import_frame.js IMPORT get_import_frame
var storage;
@@ -710,8 +702,6 @@ function jump_to_item(url_with_item)
async function main()
{
- init_default_policy_dialog();
-
storage = await get_remote_storage();
for (let prefix of list_prefixes) {