We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bbb406 commit bbe00bdCopy full SHA for bbe00bd
javascript/index.js
@@ -369,7 +369,9 @@ async function main() {
369
recursiveTranslateXml("", "parseXml");
370
} else if (parseType == "json") {
371
const languages = await getDirectories(path.join(__dirname, "../xml"));
372
- languages.sort(function (x,y) { return x==="en" ? -1 : y==="en" ? 1 : 0; }); // put "en" at front
+ languages.sort(function (x, y) {
373
+ return x === "en" ? -1 : y === "en" ? 1 : 0;
374
+ }); // put "en" at front
375
console.dir(languages);
376
377
for (const lang of languages) {
0 commit comments