From f202c76f35c870f1dfb3d2c66876efeb36e84473 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 6 Feb 2017 21:03:57 +0100 Subject: [PATCH] jquery.suggestions: Correct @return documentation Follow-up to 0dca42efb4a1ae7bcd029bf02dbc49a6d7fb57df. Change-Id: Ia8c17d8169eb875d297b98a30002afb0eaa11233 --- resources/src/jquery/jquery.highlightText.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/src/jquery/jquery.highlightText.js b/resources/src/jquery/jquery.highlightText.js index a6b93733a6..a14e3ebd38 100644 --- a/resources/src/jquery/jquery.highlightText.js +++ b/resources/src/jquery/jquery.highlightText.js @@ -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 || {}; -- 2.20.1