aboutsummaryrefslogtreecommitdiff
path: root/html/default_blocking_policy.js
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-12-22 16:39:34 +0100
committerWojtek Kosior <koszko@koszko.org>2021-12-22 16:39:34 +0100
commitb590eaa2f64ead3384eadc6fe58f6358aa1a0478 (patch)
tree8f1e9403c1a75246c2a9a0afc4ab30706ea7afbe /html/default_blocking_policy.js
parentb7378a9994724750198e0d165c575be8538334fb (diff)
downloadbrowser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.tar.gz
browser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.zip
reworked build system; added missing license notices
Diffstat (limited to 'html/default_blocking_policy.js')
-rw-r--r--html/default_blocking_policy.js17
1 files changed, 5 insertions, 12 deletions
diff --git a/html/default_blocking_policy.js b/html/default_blocking_policy.js
index 8178386..47435eb 100644
--- a/html/default_blocking_policy.js
+++ b/html/default_blocking_policy.js
@@ -41,13 +41,10 @@
* proprietary program, I am not going to enforce this in court.
*/
-/*
- * IMPORTS_START
- * IMPORT by_id
- * IMPORT light_storage
- * IMPORT observables
- * IMPORTS_END
- */
+#IMPORT common/storage_light.js AS light_storage
+#IMPORT common/observables.js
+
+#FROM html/DOM_helpers.js IMPORT by_id
/*
* Used with `default_blocking_policy.html' to allow user to choose whether to
@@ -75,8 +72,4 @@ async function init_default_policy_dialog()
blocking_policy_span.classList.remove("hide");
}
-/*
- * EXPORTS_START
- * EXPORT init_default_policy_dialog
- * EXPORTS_END
- */
+init_default_policy_dialog();