diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-12-22 16:39:34 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-12-22 16:39:34 +0100 |
commit | b590eaa2f64ead3384eadc6fe58f6358aa1a0478 (patch) | |
tree | 8f1e9403c1a75246c2a9a0afc4ab30706ea7afbe /html/options_main.js | |
parent | b7378a9994724750198e0d165c575be8538334fb (diff) | |
download | browser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.tar.gz browser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.zip |
reworked build system; added missing license notices
Diffstat (limited to 'html/options_main.js')
-rw-r--r-- | html/options_main.js | 24 |
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) { |