diff --git a/scripts/WhiteboardServerSideInfo.js b/scripts/WhiteboardServerSideInfo.js index 04bf79f..ba442c5 100644 --- a/scripts/WhiteboardServerSideInfo.js +++ b/scripts/WhiteboardServerSideInfo.js @@ -1,5 +1,8 @@ const config = require("./config/config"); +/** + * Class to hold information related to a whiteboard + */ class WhiteboardServerSideInfo { static defaultScreenResolution = { w: 1000, h: 1000 }; diff --git a/src/js/services/ConfigService.js b/src/js/services/ConfigService.js index 0405f65..c00b70e 100644 --- a/src/js/services/ConfigService.js +++ b/src/js/services/ConfigService.js @@ -1,5 +1,8 @@ import { getThrottling } from "./ConfigService.utils"; +/** + * Class to hold the configuration sent by the backend + */ class ConfigService { /** * @type {object} diff --git a/src/js/services/ThrottlingService.js b/src/js/services/ThrottlingService.js index b73921e..73c69b8 100644 --- a/src/js/services/ThrottlingService.js +++ b/src/js/services/ThrottlingService.js @@ -2,6 +2,9 @@ import Point from "../classes/Point"; import { getCurrentTimeMs } from "../utils"; import ConfigService from "./ConfigService"; +/** + * Class to handle all the throttling logic + */ class ThrottlingService { /** * @type {number}