Editing visible text to correct few misspellings and have more consistent capitalization
This commit is contained in:
@ -110,7 +110,7 @@ export class SoSCardDeck {
|
||||
getCardSuit( cardName ) {
|
||||
if ( cardName[0] == 'c') return 'club';
|
||||
if ( cardName[0] == 'd') return 'diamond';
|
||||
if ( cardName[0] == 'h') return 'hearth';
|
||||
if ( cardName[0] == 'h') return 'hearts';
|
||||
if ( cardName[0] == 's') return 'spade';
|
||||
if ( cardName[0] == 'j') return 'joker';
|
||||
}
|
||||
|
Reference in New Issue
Block a user