Skip to content
New issue

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

Make download of files compatible with Safari #9

Open
heberleh opened this issue Jan 8, 2022 · 0 comments
Open

Make download of files compatible with Safari #9

heberleh opened this issue Jan 8, 2022 · 0 comments

Comments

@heberleh
Copy link
Owner

heberleh commented Jan 8, 2022

The app uses an outdated library to export files.

It may not work in Safari.

The function saveAs() comes from the old library https://github.com/eligrey/FileSaver.js (npm install file-saver --save)
that can be updated in the code or replaced with a better one.

Here is an example of its use:

saveAs(new Blob([dataset], {type: "text/plain;charset=" + document.characterSet}), document_name);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant