Now compatible with Chrome
Updated to work with Chrome. Needs testing.
Didn't upload in Chrome
Tested to work on Chrome 10 and Firefox 4
Updated README to reflect testing on Chrome 10 and Firefox 4
use array instead of line by line string concatenation
Merge pull request #1 from nephics/master

improved string concatenation for builder (broken)
Corrected close bracket after merge
Added tests/examples
Added click to select files support
Ignore other drops, instead of error
Add file param to URL function call

Add a file param to the URL funciton call so we can switch based
on the file's properties.
Added file extension constraints.
Update README.md with allowedfileextensions example
Added error example for FileExtensionNotAllowed
file to files[fileIndex]
allowedextension typo
Fix loops
Fixes cases where an empty opts.data results in params containing a single empty string,
causing "undefined" to show up in the post body, eg:

--------multipartformboundary1361198653141
Content-Disposition: form-data; name=""

undefined
using readAsText if no readAsBinaryString

This works for text files in IE10.