mirror of
https://github.com/twitter/twemoji.git
synced 2025-01-29 21:32:42 +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:
parent
1d3dc380e5
commit
2073a65a30
@ -141,9 +141,9 @@ Queue([
|
|||||||
// grab the list of emoji that behave differently when
|
// grab the list of emoji that behave differently when
|
||||||
// variants such \uFE0E and \uFE0F are in place
|
// variants such \uFE0E and \uFE0F are in place
|
||||||
function grabStandardVariants(q) {
|
function grabStandardVariants(q) {
|
||||||
console.log('fetching StandardizedVariants.txt ... ');
|
console.log('fetching emoji-variation-sequences.txt ... ');
|
||||||
http.get(
|
http.get(
|
||||||
"http://unicode.org/Public/UNIDATA/StandardizedVariants.txt",
|
"http://unicode.org/Public/emoji/latest/emoji-variation-sequences.txt",
|
||||||
function(res) {
|
function(res) {
|
||||||
var chunks = [];
|
var chunks = [];
|
||||||
if (res.statusCode == 200) {
|
if (res.statusCode == 200) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user