JavaScript: include standard mime types

Authored by ChALkeR on Oct 24 2017, 4:42 PM.

Description

JavaScript: include standard mime types

Add application/javascript and text/javascript mimetypes to
javascript.xml

application/javascript is the main one used in shared-mime-info,
without it syntax highlighting is not working for *.mjs files.

text/javascript is added as a safeguard in case if shared-mime-info
switches to it later, as there is ambiguity between which of those two
should be the main one, and IANA could switch to text/javascript.

Refs:

Reviewers: vkrause

Reviewed By: vkrause

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D8451

Details

Committed
ChALkeRNov 8 2017, 4:13 PM
Reviewer
vkrause
Differential Revision
D8451: JavaScript: include standard mime types
Parents
R216:94e868f8c2c1: debchangelog: add Bionic Beaver
Branches
Unknown
Tags
Unknown