summaryrefslogtreecommitdiff
path: root/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.templates.js
diff options
context:
space:
mode:
Diffstat (limited to 'tuskar_ui/infrastructure/static/infrastructure/js/tuskar.templates.js')
-rw-r--r--tuskar_ui/infrastructure/static/infrastructure/js/tuskar.templates.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.templates.js b/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.templates.js
deleted file mode 100644
index 5f8e6862..00000000
--- a/tuskar_ui/infrastructure/static/infrastructure/js/tuskar.templates.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Namespace for core functionality related to client-side templating. */
-tuskar.templates = {
- template_ids: ["#modal_chart_template"],
-};
-
-/* Pre-loads and compiles the client-side templates. */
-tuskar.templates.compile_templates = function () {
- $.each(tuskar.templates.template_ids, function (ind, template_id) {
- horizon.templates.compiled_templates[template_id] = Hogan.compile($(template_id).html());
- });
-};
-
-horizon.addInitFunction(function () {
- // Load client-side template fragments and compile them.
- tuskar.templates.compile_templates();
-});