diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2023-11-15 00:35:54 -0700 |
---|---|---|
committer | Alex Henrie <alexhenrie24@gmail.com> | 2023-11-15 00:35:54 -0700 |
commit | edc614a53ca1de0c7fc25cca7b554fa105954fc0 (patch) | |
tree | 830594eaaf9c475ff201a9069be1d55bc9ffbcfd | |
parent | 9a6d6b8e963935f145f3a1ef446552de6996dada (diff) |
Make application/json5 a subclass of application/ecmascript
application/json used to inherit from application/ecmascript because it
inherited from text/javascript which was incorrectly declared as a
subclass of application/ecmascript. After the relationship between
text/javascript and application/ecmascript was corrected (and
application/json was made to inherit from the new application/json5 type
instead), application/json's relationship to application/ecmascript was
accidentally broken.
-rw-r--r-- | data/freedesktop.org.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 51fbaa4..a9e2516 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -2744,7 +2744,7 @@ command to generate the output files. <comment>JSON5 document</comment> <acronym>JSON5</acronym> <expanded-acronym>JavaScript Object Notation 5</expanded-acronym> - <sub-class-of type="text/javascript"/> + <sub-class-of type="application/ecmascript"/> <generic-icon name="text-x-script"/> <glob pattern="*.json5"/> </mime-type> |