waynehoover / s3_direct_upload

Direct Upload to Amazon S3 With CORS
MIT License
652 stars 333 forks source link

Adding support to file type whitelisting. #134

Closed truenito closed 11 years ago

truenito commented 11 years ago

Made it as an option that can be explicitly added using a regular expression on initialization (just like it was done on the Screen Cast).

For example: $("#uploader").S3Uploader types: /(.|\/)(gif|jpe?g|png)$/i

truenito commented 11 years ago

Close because accidentally deleted some stuff.