Update compilers; rename things for consistency

This commit is contained in:
1computer1 2019-03-13 01:32:27 -04:00
parent 646a7981fc
commit 4b73ece01c
8 changed files with 12 additions and 24 deletions

View file

@ -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: () => ''
}

View file

@ -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: {} };
}
}