We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d505d6b commit d110973Copy full SHA for d110973
webdiff/static/codediff.js/codediff.js
@@ -626,6 +626,7 @@ differ.guessLanguageUsingFileName = function(name) {
626
if (ext == 'py') return 'python';
627
if (ext == 'sh') return 'bash';
628
if (ext == 'md') return 'markdown';
629
+ if (ext == 'js') return 'javascript';
630
return m[1].toLowerCase();
631
};
632
0 commit comments