@@ -11,11 +11,11 @@ import { TranslateService } from '@ngx-translate/core';
1111export class ContributorsComponent implements OnInit {
1212
1313 developers : Developer [ ] = [
14- { id : 20372033 , name : " HoshimiRin" , link : " https://github.com/mxihan" } ,
15- { id : 29558475 , name : " Rinne" , link : " https://github.com/OharaRinneY" } ,
16- { id : 35133371 , name : " Sanhei" , link : " https://github.com/Sanheiii" } ,
17- { id : 88378875 , name : " TCPL" , link : " https://github.com/xuanxuan-0403" } ,
18- { id : 105532072 , name : " 天梯Tyuikl" , link : " https://github.com/tyuikl32" }
14+ { id : 20372033 , name : ' HoshimiRin' , link : ' https://github.com/mxihan' } ,
15+ { id : 29558475 , name : ' Rinne' , link : ' https://github.com/OharaRinneY' } ,
16+ { id : 35133371 , name : ' Sanhei' , link : ' https://github.com/Sanheiii' } ,
17+ { id : 88378875 , name : ' TCPL' , link : ' https://github.com/xuanxuan-0403' } ,
18+ { id : 105532072 , name : ' 天梯Tyuikl' , link : ' https://github.com/tyuikl32' }
1919 ] ;
2020 shuffledDevelopers : Developer [ ] ;
2121 sponsors : Sponsor [ ] ;
@@ -37,24 +37,24 @@ export class ContributorsComponent implements OnInit {
3737 if ( resp . SponsorsList ) {
3838 const sponsors : Sponsor [ ] = resp . SponsorsList ;
3939 const sortedSponsors = sponsors . sort ( ( a , b ) => {
40- const totalMoneyA = a . CurrentPlan && a . CurrentPlan !== "" ? a . TotalMoney * 2 : a . TotalMoney ;
41- const totalMoneyB = b . CurrentPlan && b . CurrentPlan !== "" ? b . TotalMoney * 2 : b . TotalMoney ;
40+ const totalMoneyA = a . CurrentPlan && a . CurrentPlan !== '' ? a . TotalMoney * 2 : a . TotalMoney ;
41+ const totalMoneyB = b . CurrentPlan && b . CurrentPlan !== '' ? b . TotalMoney * 2 : b . TotalMoney ;
4242 return totalMoneyB - totalMoneyA ;
4343 } ) ;
4444 this . sponsors = sortedSponsors ;
4545 }
4646 } ,
47- error => {
47+ error => {
4848
4949 }
50- )
50+ ) ;
5151 }
5252}
5353
5454interface Developer {
55- id : number ,
56- name : String ,
57- link : String
55+ id : number ;
56+ name : string ;
57+ link : string ;
5858}
5959
6060interface Sponsor {
0 commit comments