Bump emoji requirement to Unicode 9
parent
8dfb4048cc
commit
8579c4ae01
|
@ -9,7 +9,7 @@ let emoji_version = detectVersion();
|
||||||
|
|
||||||
export default function emojify(text) {
|
export default function emojify(text) {
|
||||||
// Browser too old to support native emoji
|
// Browser too old to support native emoji
|
||||||
if (emoji_version < 6.1) {
|
if (emoji_version < 9.0) {
|
||||||
return emojione.toImage(text);
|
return emojione.toImage(text);
|
||||||
// Convert short codes into native emoji
|
// Convert short codes into native emoji
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue