From e211bb30e4136addbadacb025504708d99482052 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 21 Mar 2021 18:55:08 +0100 Subject: [PATCH] Update JS-DOC --- src/scripts/scrape-data/post-parse.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/scripts/scrape-data/post-parse.ts b/src/scripts/scrape-data/post-parse.ts index 768869e..0393afc 100644 --- a/src/scripts/scrape-data/post-parse.ts +++ b/src/scripts/scrape-data/post-parse.ts @@ -494,6 +494,13 @@ function pairUp(elements: IPostElement[]): IPostElement[] { return data; } +/** + * Associate the relative values to a title. + * @param start Title index in the `elements` array + * @param index `start` index in `indexes` + * @param indexes List of titles indices in the `elements` array + * @param elements Array of elements to group + */ function parseGroupData( start: number, index: number,