aboutsummaryrefslogtreecommitdiff
path: root/javascript/helpers.js
diff options
context:
space:
mode:
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