From c23c3d81fb62208b17b3a85285d53548fcbecc19 Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:55:36 +0100 Subject: [PATCH] Format files, add example template, and optimise code. --- .../clarity/src/globals/js/ajax-templating.js | 42 +++++++++++-------- .../clarity/src/globals/js/ajax-utils.js | 2 +- 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/public/app/themes/clarity/src/globals/js/ajax-templating.js b/public/app/themes/clarity/src/globals/js/ajax-templating.js index 8df0fe418..3948056dc 100644 --- a/public/app/themes/clarity/src/globals/js/ajax-templating.js +++ b/public/app/themes/clarity/src/globals/js/ajax-templating.js @@ -5,11 +5,24 @@ * @see https://stackoverflow.com/a/39065147/6671505 * * @example + * Template: + *