Update the brace format from 1tbs to stroustrup
This commit is contained in:
parent
1c7308e188
commit
3dd3139281
13 changed files with 31 additions and 16 deletions
|
|
@ -42,9 +42,11 @@ export function toBoolean(val) {
|
|||
export function documentSorter(a, b) {
|
||||
if (!a && !b) {
|
||||
return 0;
|
||||
} else if (!a) {
|
||||
}
|
||||
else if (!a) {
|
||||
return 1;
|
||||
} else if (!b) {
|
||||
}
|
||||
else if (!b) {
|
||||
return -1;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue