aboutsummaryrefslogtreecommitdiff
path: root/html/DOM_helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/DOM_helpers.js')
-rw-r--r--html/DOM_helpers.js15
1 files changed, 3 insertions, 12 deletions
diff --git a/html/DOM_helpers.js b/html/DOM_helpers.js
index aaf5621..443e4eb 100644
--- a/html/DOM_helpers.js
+++ b/html/DOM_helpers.js
@@ -41,10 +41,7 @@
* proprietary program, I am not going to enforce this in court.
*/
-function by_id(id)
-{
- return document.getElementById(id);
-}
+#EXPORT id => document.getElementById(id) AS by_id
const known_templates = new Map();
@@ -63,6 +60,7 @@ function get_template(template_id)
known_templates.set(template_id, template);
return template;
}
+#EXPORT get_template
function clone_template(template_id)
{
@@ -86,11 +84,4 @@ function clone_template(template_id)
return result_object;
}
-
-/*
- * EXPORTS_START
- * EXPORT by_id
- * EXPORT get_template
- * EXPORT clone_template
- * EXPORTS_END
- */
+#EXPORT clone_template