Closed pdurbin closed 4 years ago
Hi @qqmyers and @pdurbin , I have checked the original retriewers.js and another removing the ^M with the dostounix command and, both of therm works in our server. Here are the view with the original retriewers.js (with the ^M). It works for me in Linux (Firefox and Chromium) and W10 (Firefox, Chrome and Edge): http://oaimadrono.uned.es:8080/file.xhtml?persistentId=doi:10.21950/VJADUC/SXOIDE
I believe ^M indicates CLRF line endings and shouldn't be there. git with the default --global core.autocrlf true config option should convert these to proper unix linendings.
Thanks @qqmyers for the review!
FWIW - I just committed a change to remove all of the ^M chars. If you see them again, let me know. I think I've changed my setup to avoid adding them back.
Closing in favor of pull request #27
For #24 (not sure if it closes it yet).
@qqmyers before you even consider merging this pull request, I have some meta questions. š
(I noticed you gave me push access to this repo so I didn't bother forking.)
Do you know why
git diff
andgit commit
shows weird line endings? Should I try to get rid of them? I'll attach some screenshots below. I hacked on retriever.js on a CentOS EC2 instance and then copied it down to my Mac to actually commit and push the branch.git diff (I'm not used to seeing all these
^M
's)git commit (looks relatively normal or at least consistent, but I don't usually a
^M
on every line like this.)You also mentioned something at https://github.com/QualitativeDataRepository/dataverse-previewers/issues/24#issuecomment-545033058 about possibly disabling an API call. Do you want me to look into that or should that be an optimization we get in later?
Finally, things are looking pretty good on Chrome but on Firefox I'm getting a mysterious spinner. Do you know why? Screenshots below.
Chrome
Firefox