Open jglamine opened 9 years ago
Put a <script> tag in the template and insert the array there. Then update the javascript for displaying it in index.html and app.js.
<script>
index.html
app.js
See https://github.com/jglamine/phage/blob/master/webphamerator/app/templates/edit-database.html for an example of embeding data in a javascript tag in a jinja template.
Put a
<script>
tag in the template and insert the array there. Then update the javascript for displaying it inindex.html
andapp.js
.See https://github.com/jglamine/phage/blob/master/webphamerator/app/templates/edit-database.html for an example of embeding data in a javascript tag in a jinja template.