summaryrefslogtreecommitdiff
path: root/ext/mixed/js/html-template-collection.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js/html-template-collection.js')
-rw-r--r--ext/mixed/js/html-template-collection.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/html-template-collection.js b/ext/mixed/js/html-template-collection.js
index 65b316c8..52d5f3b0 100644
--- a/ext/mixed/js/html-template-collection.js
+++ b/ext/mixed/js/html-template-collection.js
@@ -44,6 +44,10 @@ class HtmlTemplateCollection {
return document.importNode(template.content, true);
}
+ getAllTemplates() {
+ return this._templates.values();
+ }
+
// Private
_prepareTemplate(template) {