Add a true return description to the test() method added to wpEmoji in 4.3.

See [32335]. See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33203 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-07-13 17:58:36 +00:00
parent 804a008eb1
commit 9f10dd65fb

View File

@ -91,12 +91,13 @@
}
/**
* Test if a text string contains emoji characters
* Test if a text string contains emoji characters.
*
* @since 4.3.0
*
* @param {String} text The string to test
* @returns Boolean
*
* @return {Boolean} Whether the string contains emoji characters.
*/
function test( text ) {
// Single char. U+20E3 to detect keycaps. U+00A9 "copyright sign" and U+00AE "registered sign" not included.