emoji-mart-lazyload/scripts
Chad Ostrowski a927821c9b Country names: correctly uppercase names like 'EU'
Always perform the capitalization-correction for country names. If we
did this naïvely, using the same regex as before, it would change things
like "Falkland Islands" to "Falkland ISLANDS". The new regex checks on
word boundary, `\b`, instead of space, `\s`, which means even single
words like `Eu` are found. It then checks for exactly two letters, where
the first is uppercase and the second lowercase.

Here's exactly what it affects:

* All "Regional Indicator Symbol Letters AC"-type names that don't
have data in emojiLib
* There are some flags in emojiLib for which it uses two-character
abbreviations instead of full country names (see muan/emojilib#131).
These countries are: CN, EU, FR, DE, IT, JP, RU, KR, ES, TR, UK, US
This new regex corrects these from Cn, Eu, Fr, etc.
2017-08-06 14:05:01 -04:00
..
build-data.js Country names: correctly uppercase names like 'EU' 2017-08-06 14:05:01 -04:00
build-dist.js Initial commit 2016-06-01 10:07:23 -04:00
build-example.js Build example in `example/bundle.js` 2016-07-29 12:07:24 -04:00
watch.js Fix `watch` script not bundling example 2017-02-17 12:21:04 -05:00