Expand description
Serving the library, from this application’s own origin.
Structs§
- Charts
- Mounts the two scripts.
Constants§
- CHART_
JS - Chart.js itself, vendored. MIT; the licence travels beside it in
assets/LICENSE-chart.js.mdand the copyright banner is still at the top of the file. - CHART_
JS_ PATH - CHART_
JS_ VERSION - The version vendored here, so a page can cache-bust on it and a bug report can name it.
- INIT_JS
- The script that reads
data-chartand draws it. - INIT_
JS_ PATH