From 03fa4d29d87b9b755686dd7c35cd30ff5cdfebf8 Mon Sep 17 00:00:00 2001 From: "Zhian N. Kamvar (UMass)" Date: Mon, 4 Nov 2024 12:15:52 -0800 Subject: [PATCH] update predtimechart to 2.0.11 --- static/resources/predtimechart.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/resources/predtimechart.js b/static/resources/predtimechart.js index f178441..ae5b60b 100644 --- a/static/resources/predtimechart.js +++ b/static/resources/predtimechart.js @@ -1,4 +1,4 @@ -import App from 'https://cdn.jsdelivr.net/gh/reichlab/predtimechart@2.0.10/dist/predtimechart.bundle.js'; +import App from 'https://cdn.jsdelivr.net/gh/reichlab/predtimechart@2.0.11/dist/predtimechart.bundle.js'; document.predtimechart = App; // for debugging function replace_chars(the_string) { @@ -34,10 +34,8 @@ function _fetchData(isForecast, targetKey, taskIDs, referenceDate) { const forecast_file_name = `${slug}_${referenceDate}.json`; const target_file_name = `${slug}_${tagetDate}.json`; if (isForecast) { - // target_path = `./static/data/forecasts/${file_name}`; target_path = `${root}/forecasts/${forecast_file_name}`; } else { - // target_path = `./static/data/truth/${file_name}`; target_path = `${root}/targets/${target_file_name}`; } return fetch(target_path); // Pwomise?