Преглед изворни кода

Fix Pokemon not quite being sorted

tags/v0.1.0
Fen Dweller пре 5 година
родитељ
комит
a536971c02
1 измењених фајлова са 4 додато и 1 уклоњено
  1. +4
    -1
      presets/pokemon.js

+ 4
- 1
presets/pokemon.js Прегледај датотеку

@@ -40826,5 +40826,8 @@ function makePokemon() {
constructor: value
});
});
return results;

return results.sort((a, b) => {
return a.name.localeCompare(b.name);
});
}

Loading…
Откажи
Сачувај