-
Notifications
You must be signed in to change notification settings - Fork 240
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
Sending unparsed data to fileReceiver #26
Comments
@kruherson1337 Hm, do you have a fix in mind? That description doesn't sound quite right -- there's an if/else there, and in the else path we do JSON parse data before passing it over, and the else path is the common one. |
@cjb Well, yes, but look at the code :)
By the way, why is file transfer so slow? |
Hm, I just tried this and it didn't seem to change any behavior on Chrome. Did it work for you?
Dunno! I didn't put any effort into making it fast. |
Yes, it works for me. I am not well experienced in Javascript, but Fixed the speed and added progress bar :) thank you. |
Could you open a PR with your changes, please? |
When you are sending data to fileReceiver you are sending unparsed object "e.data" not json parsed "data" variable. File transfer doesn't work, because it is expecting json parsed object.
The text was updated successfully, but these errors were encountered: