diff options
author | Jonas Meurer <jonas@freesources.org> | 2021-12-03 14:38:46 +0300 |
---|---|---|
committer | Jonas Meurer <jonas@freesources.org> | 2021-12-04 12:12:45 +0300 |
commit | dd26014092043421b1df3efff14ce0dbb18abbbd (patch) | |
tree | df43381b43138defbdce2fa75229e48adb3340cd /src/extensions | |
parent | a6a767fa8f50cc48b23e1fdcee99c51a9478194b (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.js | 14 |
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) { |