We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Socially Angular1]
Hi, As readAsArrayBuffer is deprecated, I´ve adjusted imports/api/images/methods.js to:
readAsArrayBuffer
imports/api/images/methods.js
export function upload(dataUrl, name, resolve, reject) { // convert to Blob const data = dataURLToBlob(dataUrl); data.name = name; // pick from an object only: name, type and size const file = _.pick(data, 'name', 'type', 'size'); const worker = new UploadFS.Uploader({ store: ImagesStore, data: data, file: file, onError: reject, onComplete: resolve }); worker.start(); }
So blobToArrayBuffer is no longer needed in imports/api/images/helpers.js
blobToArrayBuffer
imports/api/images/helpers.js
Hope it helps
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[Socially Angular1]
Hi,
As
readAsArrayBuffer
is deprecated, I´ve adjustedimports/api/images/methods.js
to:So
blobToArrayBuffer
is no longer needed inimports/api/images/helpers.js
Hope it helps
The text was updated successfully, but these errors were encountered: