Skip to content

Commit

Permalink
fix broken CDN link in README
Browse files Browse the repository at this point in the history
The CDN link threw a 404 when I attempted to bundle it. 
I looked at https://github.com/reichlab/Covid-19-Hub-Vizualization/blob/178b49fadcce902e38d46ca01326448d69b53d22/index.html#L70C77-L70C111 to figure out the correct usage.
  • Loading branch information
zkamvar authored Sep 13, 2024
1 parent 9c29cf6 commit 5f1a28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In your HTML file, load the required CSS and JavaScript files:
```html
<script type="module">
// import the module's entry point (the `App` object)
import App from 'https://cdn.jsdelivr.net/gh/reichlab/predtimechart@1.2.0/predtimechart.js';
import App from 'https://cdn.jsdelivr.net/gh/reichlab/[email protected].9/dist/predtimechart.js';
// set up _fetchData, _calcUemForecasts (optional), and options
function _fetchData(isForecast, targetKey, taskIDs, referenceDate) { ... }
Expand Down

0 comments on commit 5f1a28f

Please sign in to comment.