From 42fa8304ddb811b0f725f245130f70c0f5e86a6c Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 04 Nov 2025 06:12:02 +0000
Subject: [PATCH] =Refactored LoginManager to be more extensible and configurable, as well as an AjaxRateLimiter
---
assets/js/dash/UtilityFunctions.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/assets/js/dash/UtilityFunctions.js b/assets/js/dash/UtilityFunctions.js
index b682acc..4c337dd 100644
--- a/assets/js/dash/UtilityFunctions.js
+++ b/assets/js/dash/UtilityFunctions.js
@@ -816,8 +816,6 @@
schedule(key, callback, delay = 1000) {
this.cancel(key);
- console.log('Scheduling action: ', key);
- console.log('With callback', callback);
this.timeouts.set(key, setTimeout(() => {
callback();
this.timeouts.delete(key);
@@ -826,7 +824,6 @@
cancel(key) {
if (this.timeouts.has(key)) {
- console.log('Cancelling ', key);
clearTimeout(this.timeouts.get(key));
this.timeouts.delete(key);
}
@@ -834,7 +831,6 @@
cleanup() {
for (let timeout of this.timeouts.values()) {
- console.log('clearing timeout: ', timeout);
clearTimeout(timeout);
}
this.timeouts.clear();
--
Gitblit v1.10.0