Skip to content

Fixes IE support for elm/files#12

Merged
evancz merged 1 commit intoelm:masterfrom
panthershark:master
Feb 11, 2019
Merged

Fixes IE support for elm/files#12
evancz merged 1 commit intoelm:masterfrom
panthershark:master

Conversation

@panthershark
Copy link
Contributor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

elm/files is broken in IE

2 participants