diff --git a/2/utils/generate b/2/utils/generate index 23ee479a..4e511a55 100755 --- a/2/utils/generate +++ b/2/utils/generate @@ -803,6 +803,7 @@ function createTwemoji(re) { * and to convert utf16 into code points. * If there is a zero-width-joiner (U+200D), leave the variants in. * @param string the raw text of the emoji match + * @return string the code point */ function grabTheRightIcon(rawText) { // if variant is present as \uFE0F diff --git a/twemoji-generator.js b/twemoji-generator.js index 552b1d0e..2ebe9f63 100755 --- a/twemoji-generator.js +++ b/twemoji-generator.js @@ -595,6 +595,7 @@ function createTwemoji(re) { * and to convert utf16 into code points * @param string the emoji surrogate pair * @param string the optional variant char, if any + * @return string the code point */ function grabTheRightIcon(icon, variant) { // if variant is present as \uFE0F