mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-27 20:27:13 +00:00
* Upgrade linting to 2.0.0-0 * Adjust so we can pass without error * Fix linting * Update header-blacklist.js * Update index.js * Update Uppy.js * Update Components.js * Update StatusBar.js * Update Assembly.js * Upgrade to linting 2.0.0 (final release) |
||
|---|---|---|
| .. | ||
| utils | ||
| index.js | ||
| README.md | ||
Influenced by:
- https://github.com/leonadler/drag-and-drop-across-browsers
- https://github.com/silverwind/uppie/blob/HEAD/uppie.js
- https://stackoverflow.com/a/50030399/3192470
Why do we not use getFilesAndDirectories() api?
It’s a proposed spec that seems to be barely implemented anywhere.
Supposed to work in Firefox and Edge, but it doesn’t work in Firefox, and both Firefox and Edge support .webkitGetAsEntry() api anyway.
This page shows how this spec is supposed to function: https://wicg.github.io/directory-upload/, but it only works because of the polyfill.js that uses .webkitGetAsEntry() internally.