Update api.rst

Corrected typo in "tojson" example, `const names = {{ names|tojson }};` was `const names = {{ names|tosjon }};`
This commit is contained in:
rayanth 2022-12-13 13:27:38 -08:00 committed by GitHub
parent 3d4acf0ca0
commit 95b666871c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,7 +248,7 @@ HTML ``<script>`` tags.
.. sourcecode:: html+jinja
<script>
const names = {{ names|tosjon }};
const names = {{ names|tojson }};
renderChart(names, {{ axis_data|tojson }});
</script>