From 9e74694bef423f65f0bedd9b84e5cb3421610d8a Mon Sep 17 00:00:00 2001 From: DJTechnoo Date: Tue, 10 Dec 2024 09:39:23 +0100 Subject: [PATCH] Fixed #57: Not a function warning in demos. --- demos/dashboards-investment-screener/demo.js | 2 +- demos/dashboards-risk-score/demo.js | 2 +- demos/dashboards-rna-news/demo.js | 2 +- demos/stock-ohlcv/demo.js | 2 +- demos/stock-securitydetails/demo.js | 2 +- demos/stock-timeseries/demo.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/dashboards-investment-screener/demo.js b/demos/dashboards-investment-screener/demo.js index 8e4cb4b..8d000ba 100644 --- a/demos/dashboards-investment-screener/demo.js +++ b/demos/dashboards-investment-screener/demo.js @@ -206,7 +206,7 @@ async function getPostmanJSON (htmlInputFile) { for (file of htmlInputFile.files) { try { fileJSON = JSON.parse(await file.text()); - if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) { + if (HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON(fileJSON)) { break; } } catch (error) { diff --git a/demos/dashboards-risk-score/demo.js b/demos/dashboards-risk-score/demo.js index cbecef1..9de2e1c 100644 --- a/demos/dashboards-risk-score/demo.js +++ b/demos/dashboards-risk-score/demo.js @@ -231,7 +231,7 @@ async function getPostmanJSON (htmlInputFile) { for (file of htmlInputFile.files) { try { fileJSON = JSON.parse(await file.text()); - if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) { + if (HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON(fileJSON)) { break; } } catch (error) { diff --git a/demos/dashboards-rna-news/demo.js b/demos/dashboards-rna-news/demo.js index 0c011a5..2cb478f 100644 --- a/demos/dashboards-rna-news/demo.js +++ b/demos/dashboards-rna-news/demo.js @@ -178,7 +178,7 @@ async function getPostmanJSON (htmlInputFile) { for (file of htmlInputFile.files) { try { fileJSON = JSON.parse(await file.text()); - if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) { + if (HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON(fileJSON)) { break; } } catch (error) { diff --git a/demos/stock-ohlcv/demo.js b/demos/stock-ohlcv/demo.js index ecf444c..41ec63d 100644 --- a/demos/stock-ohlcv/demo.js +++ b/demos/stock-ohlcv/demo.js @@ -54,7 +54,7 @@ async function getPostmanJSON (htmlInputFile) { for (file of htmlInputFile.files) { try { fileJSON = JSON.parse(await file.text()); - if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) { + if (HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON(fileJSON)) { break; } } catch (error) { diff --git a/demos/stock-securitydetails/demo.js b/demos/stock-securitydetails/demo.js index 21d10b3..b19c8cb 100644 --- a/demos/stock-securitydetails/demo.js +++ b/demos/stock-securitydetails/demo.js @@ -50,7 +50,7 @@ async function getPostmanJSON (htmlInputFile) { for (file of htmlInputFile.files) { try { fileJSON = JSON.parse(await file.text()); - if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) { + if (HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON(fileJSON)) { break; } } catch (error) { diff --git a/demos/stock-timeseries/demo.js b/demos/stock-timeseries/demo.js index 2916e58..a47d2cb 100644 --- a/demos/stock-timeseries/demo.js +++ b/demos/stock-timeseries/demo.js @@ -53,7 +53,7 @@ async function getPostmanJSON (htmlInputFile) { for (file of htmlInputFile.files) { try { fileJSON = JSON.parse(await file.text()); - if (HighchartsConnectors.Morningstar.isPostmanEnvironmentJSON(fileJSON)) { + if (HighchartsConnectors.Morningstar.Shared.isPostmanEnvironmentJSON(fileJSON)) { break; } } catch (error) {