Skip to content

Commit

Permalink
Fixed #57: Not a function warning in demos.
Browse files Browse the repository at this point in the history
  • Loading branch information
DJTechnoo committed Dec 10, 2024
1 parent f9b4253 commit 9e74694
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion demos/dashboards-investment-screener/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion demos/dashboards-risk-score/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion demos/dashboards-rna-news/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion demos/stock-ohlcv/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion demos/stock-securitydetails/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion demos/stock-timeseries/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9e74694

Please sign in to comment.