We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the asset to preload has the format [filename](.[A-Z]*)*.[extension] then the loader pick up the generic one.
[filename](.[A-Z]*)*.[extension]
After some debug I found that the get extension method needs some improvements:
module.exports = function getExtension (url) { var ext; if (isBase64(url)) { var mime = base64Mime(url); ext = (mime.split('/'))[1]; } else { ext = url.split('.').pop(); } return ext || null; };
The text was updated successfully, but these errors were encountered:
Merge pull request #13 from iranreyes/fix/issue-12-get-extension
a2c846c
Issue #12: Getting always the last part of filename after the period
Fixed as of preloader@4.0.2
preloader@4.0.2
Sorry, something went wrong.
No branches or pull requests
If the asset to preload has the format
[filename](.[A-Z]*)*.[extension]
then the loader pick up the generic one.After some debug I found that the get extension method needs some improvements:
The text was updated successfully, but these errors were encountered: