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/import_frame.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/import_frame.js')
-rw-r--r-- | html/import_frame.js | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/html/import_frame.js b/html/import_frame.js index 3d91557..f23f4ea 100644 --- a/html/import_frame.js +++ b/html/import_frame.js @@ -41,15 +41,10 @@ * proprietary program, I am not going to enforce this in court. */ -/* - * IMPORTS_START - * IMPORT get_remote_storage - * IMPORT by_id - * IMPORT clone_template - * IMPORT nice_name - * IMPORT make_once - * IMPORTS_END - */ +#FROM common/storage_client.js IMPORT get_remote_storage +#FROM html/DOM_helpers.js IMPORT by_id, clone_template +#FROM common/misc.js IMPORT nice_name +#FROM common/once.js IMPORT make_once let storage; @@ -187,10 +182,4 @@ async function init() return exports; } -const get_import_frame = make_once(init); - -/* - * EXPORTS_START - * EXPORT get_import_frame - * EXPORTS_END - */ +#EXPORT make_once(init) AS get_import_frame |