Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Filter out null file entries #7

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

Merged
merged 1 commit into from
Mar 31, 2020
Merged

Filter out null file entries #7

merged 1 commit into from
Mar 31, 2020

Conversation

dgraham
Copy link
Contributor

@dgraham dgraham commented Mar 31, 2020

We have this entry null test elsewhere but were missing it while finding the root entries in the drop transfer.

If the item isn't a file, null is returned.
https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry

We have this entry null test elsewhere but were missing it while finding
the root entries in the drop transfer.

> If the item isn't a file, null is returned.
—https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry
@dgraham dgraham requested a review from a team March 31, 2020 17:08
@dgraham dgraham merged commit bd9ff1a into master Mar 31, 2020
@dgraham dgraham deleted the null-entries branch March 31, 2020 18:11
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.

2 participants