- From: Jonathan Watt <notifications@github.com>
- Date: Tue, 22 Mar 2016 21:00:37 -0700
- To: WICG/directory-upload <directory-upload@noreply.github.com>
Received on Wednesday, 23 March 2016 04:01:10 UTC
Note that the need to do feature detection makes the length more annoying, since you end up with code like:
```
function onInput(input) {
if (input.getFilesAndDirectories) {
input.getFilesAndDirectories().then(...);
} else {
input.files
}
```
and
```
if (item.getFilesAndDirectories) {
... item.getFilesAndDirectories() ...
} else {
... not a Directory, do File stuff ...
}
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/32#issuecomment-200161682
Received on Wednesday, 23 March 2016 04:01:10 UTC