From a685433807fef09dd18a49a8a7a844c880d38b1b Mon Sep 17 00:00:00 2001 From: Nardog Date: Thu, 30 May 2024 17:51:58 +0900 Subject: textSelection: Stop initializing default methods on each call And document the whole script as a module, re-surfacing the private but accessible methods in JSDoc. Bug: T358290 Change-Id: Icc9f4d54aaf15e6fa32c777f4a363e2d7ced1fb4 --- resources/src/jquery/jquery.textSelection.js | 752 +++++++++++++-------------- 1 file changed, 370 insertions(+), 382 deletions(-) (limited to 'resources') diff --git a/resources/src/jquery/jquery.textSelection.js b/resources/src/jquery/jquery.textSelection.js index 112d2b0592b2..08fdc5138d8c 100644 --- a/resources/src/jquery/jquery.textSelection.js +++ b/resources/src/jquery/jquery.textSelection.js @@ -9,425 +9,422 @@ */ /** - * @class jQuery.plugin.textSelection - * * Do things to the selection in a `