The .jsm filename extension is used for JavaScript Code Modules, i.e. the files contain JavaScript source code; .jsm is an alternative variation of .mjs used by Mozilla applications. I counted 484 jsm files in the Firefox source code, and 429 in the Thunderbird source.
Unfortunately, this filename extension is not in Apple's default list for JavaScript files, so the files don't have the com.netscape.javascript-source UTI used by Syntax Highlight. They have the dynamic UTI dyn.ah62d4rv4ge80y65r. Could this nevertheless be added in, and be parsed by the JavaScript parser?
The
.jsm
filename extension is used for JavaScript Code Modules, i.e. the files contain JavaScript source code;.jsm
is an alternative variation of.mjs
used by Mozilla applications. I counted 484jsm
files in the Firefox source code, and 429 in the Thunderbird source.Unfortunately, this filename extension is not in Apple's default list for JavaScript files, so the files don't have the
com.netscape.javascript-source
UTI used by Syntax Highlight. They have the dynamic UTIdyn.ah62d4rv4ge80y65r
. Could this nevertheless be added in, and be parsed by the JavaScript parser?