diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-09-20 11:52:34 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2023-09-20 11:52:34 +0200 |
| commit | 5fc20f9dd53fe4d32be08d538782baa47c67853c (patch) | |
| tree | ba0994a4c3a7b090d3732f7381b96e92ee365249 /webAO/utils/getAnimLength.js | |
| parent | 4db738e6e5e3287c3621501a01988ab90eed447e (diff) | |
make eslint a lot happier
Diffstat (limited to 'webAO/utils/getAnimLength.js')
| -rw-r--r-- | webAO/utils/getAnimLength.js | 12 |
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']; |
