flake8
passed.
JSHint
passed.
Review Request #9611 — Created Feb. 10, 2018 and submitted
JavaScript files seem to have mimetype
application/x-javascript
when
uploaded instead of the oldtext/javascript
. This patch makes
JavaScript files uploaded as attachments viewable and reviewable again.
Uploaded a JavaScript attachment and saw it was detected as
application/x-javascript
. With this patch I was able to review it
~ | Uploaded a JavaScript attachment and saw it was detected as | |
~ | Uploaded a JavaScript attachment and saw it was detected as | |
+ | application/x-javascript . With this patch I was able to review it |