From e24bee024be3f99ec5ca7ee103c0c0311a0b8aed Mon Sep 17 00:00:00 2001 From: glitch4347 Date: Thu, 23 May 2024 10:26:25 +0200 Subject: [PATCH 1/2] replace todo with comment --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5264707..c7a5219 100644 --- a/src/index.ts +++ b/src/index.ts @@ -79,7 +79,7 @@ class ChartwerkPod { _series: T[] = [], _options: O ) { - // TODO: test if it's necessary + // need to call explicitly because lazyStyleTag styles.use(); this.options = new CoreOptions(_options); From 90af9810a37e171ac6860d7fe7d32625be6a2ef5 Mon Sep 17 00:00:00 2001 From: glitch4347 Date: Thu, 23 May 2024 10:29:59 +0200 Subject: [PATCH 2/2] update comment --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index c7a5219..0ce30de 100644 --- a/src/index.ts +++ b/src/index.ts @@ -79,7 +79,8 @@ class ChartwerkPod { _series: T[] = [], _options: O ) { - // need to call explicitly because lazyStyleTag + // need to call explicitly because option lazyStyleTag + // in webpack style-loader styles.use(); this.options = new CoreOptions(_options);