[directory-upload] Changed drop event listener to use EventTarget (#28)

Switched `Element` to `EventTarget` so that the drop event could be attached to `document`. I'm not 100% sure if this has any other consequences but it seemed to fix it enough for my use case of attaching the handler to `document`.
You can view, comment on, or merge this pull request online at:

  https://github.com/WICG/directory-upload/pull/28

-- Commit Summary --

  * Changed drop event listener to use EventTarget

-- File Changes --

    M polyfill.js (6)

-- Patch Links --

https://github.com/WICG/directory-upload/pull/28.patch
https://github.com/WICG/directory-upload/pull/28.diff

---
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/pull/28

Received on Tuesday, 15 March 2016 03:37:04 UTC