You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Font grade uses lowercase, and does not support uppercase:
Font.getScore('7B') Output: 0
Font.getScore('7b') Output: [ 76, 77 ]
I think it would be a good idea to use uppercase for the FONT grade to distinguish it from the French sports grade, but supports lowercase input as well.
I see. Also later I noticed inconsistencies in allowing lower/upper cases in font scale methods. (isType is not case sensitive)
To begin with, should I delete this from README since this behavior is not consistent
// Font grade is not case sensitive
console.log('Is 6a a Font Scale?',Font.isType('6a'))
Then we could begin a discussion about which case to allow for font grade.
What do you think?
Currently, the Font grade uses lowercase, and does not support uppercase:
Font.getScore('7B') Output: 0
Font.getScore('7b') Output: [ 76, 77 ]
I think it would be a good idea to use uppercase for the FONT grade to distinguish it from the French sports grade, but supports lowercase input as well.
What do you think? @musoke
The text was updated successfully, but these errors were encountered: