In order to properly detect JavaScript files, I've added the following to my local freedesktop.org.xml file. If sufficient, it would be nice if this could be included in the official version (though I haven't i18n'd the comment). <mime-type type="text/x-javascript"> <comment>JavaScript sources</comment> <glob pattern="*.js"/> </mime-type>
The correct mime type for javascript files seem to be application/x-javascript, and it's already present in the mime database. Is application/x-javascript causing problems for you, or is it ok ?
Cleaning up bugzilla. Correct mime-type already exists
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.