1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-11-02 11:30:12 +00:00

Update twemoji-generator.js for Emoji 5.0

Emoji VS15/16 sequences have been moved from [`StandardizedVariants.txt`](http://unicode.org/Public/UNIDATA/StandardizedVariants.txt) to [`emoji-variation-sequences.txt`](http://unicode.org/Public/emoji/latest/emoji-variation-sequences.txt) with Unicode Emoji 5.0 / Unicode 10.0 (works already). File format is the same.
This commit is contained in:
Christoph Päper 2017-04-05 22:53:25 +02:00 committed by GitHub
parent 1d3dc380e5
commit 2073a65a30

View File

@ -141,9 +141,9 @@ Queue([
// grab the list of emoji that behave differently when
// variants such \uFE0E and \uFE0F are in place
function grabStandardVariants(q) {
console.log('fetching StandardizedVariants.txt ... ');
console.log('fetching emoji-variation-sequences.txt ... ');
http.get(
"http://unicode.org/Public/UNIDATA/StandardizedVariants.txt",
"http://unicode.org/Public/emoji/latest/emoji-variation-sequences.txt",
function(res) {
var chunks = [];
if (res.statusCode == 200) {