From 37da51d011a345db12947567200815107f47057e Mon Sep 17 00:00:00 2001 From: Vijith Assar Date: Tue, 18 Jul 2023 00:13:01 -0400 Subject: [PATCH 1/2] chore(core): remove render frequency This is a vestigial variable which is no longer used; rendering frequency for debouncing is now dictated by consumers of the library. --- source/config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/config.js b/source/config.js index ee2919bb..379324b9 100644 --- a/source/config.js +++ b/source/config.js @@ -9,11 +9,8 @@ const GRID = 10 const MINIMUM_TICK_COUNT = 3 -const RENDER_FREQUENCY = 32 - export { WRAPPER_CLASS, GRID, - MINIMUM_TICK_COUNT, - RENDER_FREQUENCY + MINIMUM_TICK_COUNT } From b0e2bf2ad4f9d3354722eb477e0d462f974734f5 Mon Sep 17 00:00:00 2001 From: Vijith Assar Date: Tue, 18 Jul 2023 00:18:20 -0400 Subject: [PATCH 2/2] chore(docs): document configuration variables --- source/config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/config.js b/source/config.js index 379324b9..1af72571 100644 --- a/source/config.js +++ b/source/config.js @@ -3,10 +3,22 @@ * @module config */ +/** + * class name for outer node wrapper + * @type {string} + */ const WRAPPER_CLASS = 'wrapper' +/** + * increment for positions that are not derived from data + * @type {number} + */ const GRID = 10 +/** + * minimum number of ticks for a continuous scale axis + * @type {number} + */ const MINIMUM_TICK_COUNT = 3 export {