Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a26ba89

Browse files
authored
Merge pull request joshcai#44 from Mayureshd-18/master
Add extensions for Racket and erlang
2 parents 5e55354 + 074d581 commit a26ba89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/action.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const LANG_TO_EXTENSION = {
99
'csharp': 'cs',
1010
'dart': 'dart',
1111
'elixir': 'ex',
12+
'erlang': 'erl',
1213
'golang': 'go',
1314
'java': 'java',
1415
'javascript': 'js',
@@ -20,11 +21,12 @@ const LANG_TO_EXTENSION = {
2021
'python': 'py',
2122
'python3': 'py',
2223
'pythondata': 'py',
24+
'racket': 'rkt',
2325
'ruby': 'rb',
2426
'rust': 'rs',
2527
'scala': 'scala',
2628
'swift': 'swift',
27-
'typescript': 'ts',
29+
'typescript': 'ts',
2830
};
2931

3032
const delay = ms => new Promise(res => setTimeout(res, ms));

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /