Now you can upload arbitrary file blobs into Xaval. To access them, use files.getReader(name), this returns an instance of BinaryFileReader which provides methods for asynchronously retrieving the file contents in different formats (text, data url and array buffer) as well as a .url property containing the object url:
Addresses #61
Now you can upload arbitrary file blobs into Xaval. To access them, use
files.getReader(name)
, this returns an instance ofBinaryFileReader
which provides methods for asynchronously retrieving the file contents in different formats (text, data url and array buffer) as well as a.url
property containing the object url:getReader()
is probably not a good name. Maybe I should rename it toreadBinary
orreadBlob
or something else.Furthermore, these files have blank thumbnails. I will create an issue to address that.