diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2023-10-16 22:58:47 -0600 |
---|---|---|
committer | David Faure <faure@kde.org> | 2023-10-29 07:55:07 +0000 |
commit | 9f234ca58cfd9b935ab8cc5efb90aa9ae0cc127b (patch) | |
tree | 0fbb9b8cefa43f09a59ca58f5ed23931b86c1955 | |
parent | e2cabe8b3e4e54b2cd4788bb50c65181552107cf (diff) |
Fix backwards relationship between text/javascript and application/ecmascript
All ECMAScript programs are JavaScript, but not all JavaScript programs
are ECMAScript.
-rw-r--r-- | data/freedesktop.org.xml.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 71f2b87..1ed3fcc 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -1913,8 +1913,7 @@ command to generate the output files. <mime-type type="application/ecmascript"> <comment>ECMAScript program</comment> <alias type="text/ecmascript"/> - <sub-class-of type='application/x-executable'/> - <sub-class-of type="text/plain"/> + <sub-class-of type="text/javascript"/> <generic-icon name="text-x-script"/> <glob pattern="*.es"/> </mime-type> @@ -2677,7 +2676,8 @@ command to generate the output files. <comment>JavaScript program</comment> <alias type="application/x-javascript"/> <alias type="application/javascript"/> - <sub-class-of type="application/ecmascript"/> + <sub-class-of type="application/x-executable"/> + <sub-class-of type="text/plain"/> <generic-icon name="text-x-script"/> <magic> <match type="string" value="#!/bin/gjs" offset="0"/> |