From c1aa5c9e48d255d237dcfbf352386cea978d0965 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 17 Sep 2014 09:38:29 -0700 Subject: [PATCH] :memo: Mention variation sequence in comment --- src/text-utils.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/text-utils.coffee b/src/text-utils.coffee index eff284d6d..16a5427d8 100644 --- a/src/text-utils.coffee +++ b/src/text-utils.coffee @@ -18,8 +18,8 @@ isSurrogatePair = (string, index=0) -> # Is the character at the given index the start of a variation sequence? # -# * `string` The {String} to check for a surrogate pair. -# * `index` The {Number} index to look for a surrogate pair at. +# * `string` The {String} to check for a variation sequence. +# * `index` The {Number} index to look for a variation sequence at. # # Return a {Boolean}. isVariationSequence = (string, index=0) -> @@ -28,7 +28,7 @@ isVariationSequence = (string, index=0) -> # Is the character at the given index the start of high/low surrogate pair # or a variation sequence? # -# * `string` The {String} to check for a surrogate pair. +# * `string` The {String} to check for a surrogate pair or variation sequence. # * `index` The {Number} index to look for a surrogate pair at. # # Return a {Boolean}.