From 7aa203150fc1a2ec79c681c13f0d486d531746eb Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Sun, 12 Mar 2023 23:57:48 +0200 Subject: error pages; js system to support back/front-end --- html/content/js/Utils/debounce.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 html/content/js/Utils/debounce.js (limited to 'html/content/js/Utils/debounce.js') diff --git a/html/content/js/Utils/debounce.js b/html/content/js/Utils/debounce.js deleted file mode 100644 index f81d9a5..0000000 --- a/html/content/js/Utils/debounce.js +++ /dev/null @@ -1,16 +0,0 @@ -define('debounce', function () { - return function (func, wait, immediate) { - var timeout; - return function () { - var context = this, args = arguments; - var later = function () { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; - }; -}); -- cgit v1.2.3