diff --git a/jsduck.json b/jsduck.json index 0021f376766..0a48be334c8 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 dc9d4cfc2c7..3891d6d0e31 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 `