gabsocial --> soapbox paths

This commit is contained in:
Alex Gleason
2020-05-28 17:52:07 -05:00
parent 010638cd9b
commit d24dcb3e60
609 changed files with 470 additions and 470 deletions

12
app/soapbox/compare_id.js Normal file
View File

@ -0,0 +1,12 @@
'use strict';
export default function compareId(id1, id2) {
if (id1 === id2) {
return 0;
}
if (id1.length === id2.length) {
return id1 > id2 ? 1 : -1;
} else {
return id1.length > id2.length ? 1 : -1;
}
}