From 3eeb44789d3c4d76002012775a0e55fef7295bc8 Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 11 Jan 2023 13:47:45 +0100 Subject: [PATCH] added comments --- js/parser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/parser.js b/js/parser.js index 1efb264..9e4b990 100644 --- a/js/parser.js +++ b/js/parser.js @@ -1,3 +1,4 @@ +// Parse teamspeak channel structure into our objects function parseChannelInfos(channelInfos) { let result = []; let rootChannels = channelInfos.rootChannels; @@ -15,6 +16,7 @@ function parseChannelInfos(channelInfos) { return result; } +// Parse teamspeak clients into our objects function parseClientInfos(clientInfos) { let result = []; clientInfos.forEach((e) => {