bgrins / filereader.js

A lightweight wrapper for the JavaScript FileReader interface
http://bgrins.github.com/filereader.js/
MIT License
413 stars 86 forks source link

readAsBinaryString deprecated #17

Closed ebi closed 10 years ago

ebi commented 10 years ago

The readAsBinaryString method has been deprecated from the standard and apparently Microsoft removed it from IE10+.

bgrins commented 10 years ago

Ah, thanks for the info. The spec agrees: http://dev.w3.org/2006/webapi/FileAPI/#reading-a-file. So we need to remove it from the docs and choose a new default read method. Probably data URL or array buffer.

bgrins commented 10 years ago

OK, I've removed readAsBinaryString from the docs and made the default readAsDataURL

ebi commented 10 years ago

Thank you