diff options
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']; |
