Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Meurer <jonas@freesources.org>2021-12-03 14:38:46 +0300
committerJonas Meurer <jonas@freesources.org>2021-12-04 12:12:45 +0300
commitdd26014092043421b1df3efff14ce0dbb18abbbd (patch)
treedf43381b43138defbdce2fa75229e48adb3340cd /src/extensions
parenta6a767fa8f50cc48b23e1fdcee99c51a9478194b (diff)
Fix javascript linting warnings
Signed-off-by: Jonas Meurer <jonas@freesources.org>
Diffstat (limited to 'src/extensions')
-rw-r--r--src/extensions/tracking/TrackState.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/extensions/tracking/TrackState.js b/src/extensions/tracking/TrackState.js
index 6d6e7ef29..2a3832885 100644
--- a/src/extensions/tracking/TrackState.js
+++ b/src/extensions/tracking/TrackState.js
@@ -28,9 +28,9 @@ import { Span } from './models'
*/
/**
- * @param map
- * @param transform
- * @param clientIDs
+ * @param {Array} map List of document ranges and corresponding authors
+ * @param {object} transform ProseMirror transform object
+ * @param {Array} clientIDs List of client IDs
*/
function updateBlameMap(map, transform, clientIDs) {
const result = []
@@ -53,10 +53,10 @@ function updateBlameMap(map, transform, clientIDs) {
}
/**
- * @param map
- * @param from
- * @param to
- * @param author
+ * @param {Array} map List of document ranges and corresponding authors
+ * @param {number} from The lower bound of the selection's main range
+ * @param {number} to The upper bound of the selection's main range
+ * @param {number} author ClientID of the author
*/
function insertIntoBlameMap(map, from, to, author) {
if (from >= to) {