mirror of
https://github.com/twitter/twemoji.git
synced 2024-12-29 00:22:57 +00:00
Merge pull request #195 from wezpyke/missing-return
Added missing @return
This commit is contained in:
commit
33457ff95c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user