aboutsummaryrefslogtreecommitdiff
path: root/javascript/helpers.js
diff options
context:
space:
mode:
authorLiam <liamthekerr@gmail.com>2022-09-27 19:29:53 -0400
committerLiam <liamthekerr@gmail.com>2022-09-27 19:29:53 -0400
commite5707b66d6db2c019bfccf66f9ba53e3daaea40b (patch)
tree21becdc358730a4e24b4db01cef25093980af60b /javascript/helpers.js
parent981fe9c4a3994bb42ea5ff5212e4fe53b748bdd9 (diff)
switched the token counter to use hidden buttons instead of api call
Diffstat (limited to 'javascript/helpers.js')
-rw-r--r--javascript/helpers.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/javascript/helpers.js b/javascript/helpers.js
deleted file mode 100644
index 1b26931f..00000000
--- a/javascript/helpers.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// helper functions
-
-function debounce(func, wait_time) {
- let timeout;
- return function wrapped(...args) {
- let call_function = () => {
- clearTimeout(timeout);
- func(...args)
- }
- clearTimeout(timeout);
- timeout = setTimeout(call_function, wait_time);
- };
-} \ No newline at end of file