aboutsummaryrefslogtreecommitdiff
path: root/html/import_frame.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/import_frame.js')
-rw-r--r--html/import_frame.js21
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