Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 52ce020

Browse files
author
Marcel Gerber
committed
Remove unnecessary vars
1 parent 3ed9e70 commit 52ce020

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • src/extensions/default/DebugCommands

src/extensions/default/DebugCommands/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,7 @@ define(function (require, exports, module) {
187187
});
188188
// sort the languages via their display name
189189
languages.sort(function (lang1, lang2) {
190-
var langName1 = lang1.label,
191-
langName2 = lang2.label;
192-
193-
return langName1.localeCompare(langName2);
190+
return lang1.label.localeCompare(lang2.label);
194191
});
195192

196193
// add system default and english (those should be on the very top)

0 commit comments

Comments
 (0)