From: Bartosz Dziewoński Date: Mon, 5 Feb 2018 15:54:28 +0000 (+0100) Subject: jquery.textSelection: Document methods and parameters X-Git-Tag: 1.31.0-rc.0~683^2 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=657ff95613f1157ee355aa2c8de189ecdf348ba6;p=lhc%2Fweb%2Fwiklou.git jquery.textSelection: Document methods and parameters Change-Id: I9e4112a75ae7abc8c479efc39a438c3b59933418 --- diff --git a/jsduck.json b/jsduck.json index 0021f37676..0a48be334c 100644 --- a/jsduck.json +++ b/jsduck.json @@ -34,6 +34,7 @@ "resources/src/jquery/jquery.spinner.js", "resources/src/jquery/jquery.suggestions.js", "resources/src/jquery/jquery.tabIndex.js", + "resources/src/jquery/jquery.textSelection.js", "resources/lib/jquery.client/jquery.client.js", "resources/lib/oojs/oojs.jquery.js", "resources/lib/oojs-ui/oojs-ui-core.js", diff --git a/resources/src/jquery/jquery.textSelection.js b/resources/src/jquery/jquery.textSelection.js index dc9d4cfc2c..3891d6d0e3 100644 --- a/resources/src/jquery/jquery.textSelection.js +++ b/resources/src/jquery/jquery.textSelection.js @@ -1,4 +1,4 @@ -/** +/*! * These plugins provide extra functionality for interaction with textareas. * * - encapsulateSelection: Ported from skins/common/edit.js by Trevor Parscal @@ -7,7 +7,42 @@ * https://github.com/Wikia/app/blob/c0cd8b763/extensions/wikia/LinkSuggest/js/jquery.wikia.linksuggest.js * © 2010 Inez Korczyński (korczynski@gmail.com) & Jesús Martínez Novo (martineznovo@gmail.com) (GPLv2) */ + +/** + * @class jQuery.plugin.textSelection + * + * Do things to the selection in a `