-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
|
||
export latinDiacritics from './scripts/latin-with-diacritics'; | ||
|
||
export chinese from './scripts/no-ascenders-or-descenders'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially, we decided to have this mapping, but at this point, should we still export several times the same script? E.g. chinese
, ethiopic
and korean
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DenisHdz I'm going to remove the services names as exports from this gel-foundations
in a future PR. But for now, I'm ensuring we are exporting the script values. This is so that I can use the scripts latinDiacritics
and noAscendersOrDescenders
etc in Simorgh, then removal of the service exports will not cause any issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes sense to me, thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves bbc/simorgh#3837
Overall change: Add exports for scripts devanagariAndGurmukhi, noAscendersOrDescenders & cyrillicAndLatin
Code changes:
@bbc/gel-foundations/scripts
:devanagariAndGurmukhi
,noAscendersOrDescenders
&cyrillicAndLatin