jquery.suggestions: Correct @return documentation
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 6 Feb 2017 20:03:57 +0000 (21:03 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 6 Feb 2017 20:03:57 +0000 (21:03 +0100)
Follow-up to 0dca42efb4a1ae7bcd029bf02dbc49a6d7fb57df.

Change-Id: Ia8c17d8169eb875d297b98a30002afb0eaa11233

resources/src/jquery/jquery.highlightText.js

index a6b9373..a14e3eb 100644 (file)
@@ -81,7 +81,8 @@
         * @param {string} [options.method='splitAndHighlight'] Method of matching to use, one of:
         *   - 'splitAndHighlight': Split `matchString` on spaces, then match each word separately.
         *   - 'prefixHighlight': Match `matchString` at the beginning of text only.
-        * @return {[type]} [description]
+        * @return {jQuery}
+        * @chainable
         */
        $.fn.highlightText = function ( matchString, options ) {
                options = options || {};