|
|
@ -11,7 +11,7 @@ declare var require: any;
|
|
|
|
registerLanguage({
|
|
|
|
registerLanguage({
|
|
|
|
id: 'javascript',
|
|
|
|
id: 'javascript',
|
|
|
|
extensions: ['.js', '.es6', '.jsx', '.mjs', '.cjs'],
|
|
|
|
extensions: ['.js', '.es6', '.jsx', '.mjs', '.cjs'],
|
|
|
|
firstLine: '^#!.*\\bnode',
|
|
|
|
firstLine: "^#!.*\\b(node|gjs)",
|
|
|
|
filenames: ['jakefile'],
|
|
|
|
filenames: ['jakefile'],
|
|
|
|
aliases: ['JavaScript', 'javascript', 'js'],
|
|
|
|
aliases: ['JavaScript', 'javascript', 'js'],
|
|
|
|
mimetypes: ['text/javascript'],
|
|
|
|
mimetypes: ['text/javascript'],
|
|
|
|