From b590eaa2f64ead3384eadc6fe58f6358aa1a0478 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 22 Dec 2021 16:39:34 +0100 Subject: reworked build system; added missing license notices --- html/options_main.js | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'html/options_main.js') 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) { -- cgit v1.2.3