forked from orbit-oss/flask
Update api.rst
Corrected typo in "tojson" example, `const names = {{ names|tojson }};` was `const names = {{ names|tosjon }};`
This commit is contained in:
parent
3d4acf0ca0
commit
95b666871c
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue