Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if the responseURL is present before checking the file extension.
Some browsers do not provide this url (IE for ex). Relates to #125.
- Loading branch information
fbe67ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivmartel this commit was never merged with the master branch?
fbe67ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code has been re-factored since this commit, it is now in rawImageLoader.js. It does not use the
responseURL
property so it looks good to me.fbe67ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivmartel I'm trying to load a jpeg file loading from a URL and I'm still getting an error if the file is not a DICOM.