aboutsummaryrefslogtreecommitdiff
path: root/common/storage_client.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage_client.js')
-rw-r--r--common/storage_client.js21
1 files changed, 6 insertions, 15 deletions
diff --git a/common/storage_client.js b/common/storage_client.js
index f310648..4bc3c3c 100644
--- a/common/storage_client.js
+++ b/common/storage_client.js
@@ -41,14 +41,11 @@
* proprietary program, I am not going to enforce this in court.
*/
-/*
- * IMPORTS_START
- * IMPORT CONNECTION_TYPE
- * IMPORT list_prefixes
- * IMPORT make_once
- * IMPORT browser
- * IMPORTS_END
- */
+#IMPORT common/connection_types.js AS CONNECTION_TYPE
+
+#FROM common/browser.js IMPORT browser
+#FROM common/stored_types.js IMPORT list_prefixes
+#FROM common/once.js IMPORT make_once
var call_id = 0;
var port;
@@ -208,10 +205,4 @@ exports.get_all_it = function (prefix)
return list_entries_it(list_by_prefix[prefix]);
}
-const get_remote_storage = make_once(init);
-
-/*
- * EXPORTS_START
- * EXPORT get_remote_storage
- * EXPORTS_END
- */
+#EXPORT make_once(init) AS get_remote_storage