- From: aliams <notifications@github.com>
- Date: Wed, 20 Jan 2016 15:34:08 -0800
- To: WICG/directory-upload <directory-upload@noreply.github.com>
Received on Wednesday, 20 January 2016 23:34:39 UTC
I agree that we probably don't need an additional function to tell us if the object is a Directory since we already get that functionality from `instanceof`. I believe that there was some guidance early on that we shouldn't use `instanceof` because of multi-frame DOM concerns which I can't seem to recall now. Perhaps it isn't actually an issue and we can change the example from `filesAndDirs[i].getFilesAndDirectories === 'function'` to `filesAndDirs[i] instanceof Directory`? --- Reply to this email directly or view it on GitHub: https://github.com/WICG/directory-upload/issues/24#issuecomment-173401723
Received on Wednesday, 20 January 2016 23:34:39 UTC