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/import_frame.js | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'html/import_frame.js') 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 -- cgit v1.2.3