This is a small tweak for browsers that don't support the blob api. I'm using this as part of an uploader derived from jQuery-File-Upload and am using this project to generate thumbnails. I would like to avoid having to feature sniff for the FileApi in my application and would rather just blindly pass file objects to this plugin. Unfortunately this generates stray http requests.
if the file api is not supported & the url is not a string avoid a us…
…eless request for [object]
Thanks, just one small notice:
Please run JS code through JSLint before doing a pull request:
And please use only single quotes (no mixing of single and double quotes).
thanks for merging & my apologies for being sloppy