Skip to content

Commit d110973

Browse files
committed
Update codediff.js
1 parent d505d6b commit d110973

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webdiff/static/codediff.js/codediff.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ differ.guessLanguageUsingFileName = function(name) {
626626
if (ext == 'py') return 'python';
627627
if (ext == 'sh') return 'bash';
628628
if (ext == 'md') return 'markdown';
629+
if (ext == 'js') return 'javascript';
629630
return m[1].toLowerCase();
630631
};
631632

0 commit comments

Comments
 (0)