Update compilers; rename things for consistency
This commit is contained in:
parent
646a7981fc
commit
4b73ece01c
8 changed files with 12 additions and 24 deletions
|
@ -2,9 +2,9 @@ const Language = require('../struct/Language');
|
|||
|
||||
class JavaScript extends Language {
|
||||
constructor() {
|
||||
super('javaScript', {
|
||||
super('javascript', {
|
||||
highlight: 'js',
|
||||
aliases: ['javaScript', 'js'],
|
||||
aliases: ['javascript', 'js'],
|
||||
options: {
|
||||
harmony: () => ''
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ class Python extends Language {
|
|||
super('python', {
|
||||
highlight: 'py',
|
||||
aliases: ['python', 'py'],
|
||||
loads: ['python', 'python2'],
|
||||
loads: ['python3', 'python2'],
|
||||
options: {
|
||||
2: () => ''
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ class Python extends Language {
|
|||
return { id: 'python2', env: {} };
|
||||
}
|
||||
|
||||
return { id: 'python', env: {} };
|
||||
return { id: 'python3', env: {} };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue