Translate the word "else"

This commit is contained in:
blob8108 2015-03-24 13:19:42 +00:00
parent 7706f1da9f
commit c943d43c03

View file

@ -155,8 +155,8 @@ specs.forEach(function(spec) {
if (info.shape === 'hat') output = '\n' + output;
if (spec[1] === 'e') {
output = output.replace('end', 'else\n \nend');
preview += '\nelse';
output = output.replace('end', language.blocks['else'] + '\n \nend');
preview += '\n' + language.blocks['else'];
}
preview = preview.replace(/&/g, '&')