New issue

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

Fixes IE support for elm/files #12

Merged
merged 1 commit into from Feb 11, 2019

Conversation

Projects
None yet
2 participants
@doanythingfordethklok
Copy link
Contributor

doanythingfordethklok commented Feb 8, 2019

The defensive check for node.js support causes IE to break. This MR updates File constructor test.

IE doesn't support the File constructor, but it does support the File API. In IE, typeof FileList evaluates to "object".

This broke our app when we upgraded to latest versions.

fixes: #11

@evancz evancz merged commit 207a3bf into elm:master Feb 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment