-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Ember.isArray return true for FileList object #12688
Comments
@joelcox yeah seems like |
We should fix this bug. Ember.isArray is useful because it can be used to detect an |
@mmun There was a fix apparently, but it didn't pass CI for IE9, for what I read in referenced PRs. |
The approach in #12708 seems quite legit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Passing a FileList object to Ember.isArray returns true, even though it does not behave like an Ember Array/Enumerable. I'm not sure if this is within the scope of Ember.
JSBin: http://emberjs.jsbin.com/ricokobotu/8/edit?js,console,output
Interesting bit from the File spec:
The text was updated successfully, but these errors were encountered: