aboutsummaryrefslogtreecommitdiff
path: root/webAO/utils/getAnimLength.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-09-20 11:52:34 +0200
committerstonedDiscord <Tukz@gmx.de>2023-09-20 11:52:34 +0200
commit5fc20f9dd53fe4d32be08d538782baa47c67853c (patch)
treeba0994a4c3a7b090d3732f7381b96e92ee365249 /webAO/utils/getAnimLength.js
parent4db738e6e5e3287c3621501a01988ab90eed447e (diff)
make eslint a lot happier
Diffstat (limited to 'webAO/utils/getAnimLength.js')
-rw-r--r--webAO/utils/getAnimLength.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/webAO/utils/getAnimLength.js b/webAO/utils/getAnimLength.js
index aa303cf..f9d793f 100644
--- a/webAO/utils/getAnimLength.js
+++ b/webAO/utils/getAnimLength.js
@@ -1,11 +1,11 @@
import calculatorHandler from './calculatorHandler';
-import fileExists from './fileExists.js';
-import { requestBuffer } from '../services/request.js';
+import fileExists from './fileExists';
+import { requestBuffer } from '../services/request';
/**
- * Gets animation length. If the animation cannot be found, it will
- * silently fail and return 0 instead.
- * @param {string} filename the animation file name
- */
+ * Gets animation length. If the animation cannot be found, it will
+ * silently fail and return 0 instead.
+ * @param {string} filename the animation file name
+ */
const getAnimLength = async (url) => {
const extensions = ['.gif', '.webp', '.apng'];