3 ms·
The setup for this plugin is too complicated. See: https://github.com/blueimp/jQuery-File-Upload/wiki/Setup https://github.com/blueimp/jQuery-File-Upload/wiki/
by weixiyen 16y ago
The setup for this plugin is too complicated. See:
https://github.com/blueimp/jQuery-File-Upload/wiki/Setup https://github.com/blueimp/jQuery-File-Upload/wiki/Setup
I think the API and abstraction should be better thought out to be just 1 js file include instead.
Other comments:
Good use of FileData and multipart builder for handling multiple browsers. However I thought Firefox also supported sending files with FileData() object, so why is xhr.sendAsBinary necessary? As far as I know, xhr.sendAsBinary is not in the w3 draft and is being deprecated by Firefox, as it's a FF proprietary method. Perhaps that part of the code could be removed?