mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 06:38:12 +08:00
more linting
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// jshint esversion: 6
|
||||
export const alphabeticallySortedValues = values => {
|
||||
return Object.keys(values).sort((a, b) => {
|
||||
var textA = a.toUpperCase();
|
||||
var textB = b.toUpperCase();
|
||||
export const alphabeticallySortedValues = values =>
|
||||
Object.keys(values).sort((a, b) => {
|
||||
const textA = a.toUpperCase();
|
||||
const textB = b.toUpperCase();
|
||||
return textA < textB ? -1 : textA > textB ? 1 : 0;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user