expose each query ONCE to js, plugin gets initialized with query_uuid only
[unfold.git] / unfold / templates / page-queries.js
1 {% for json in queries_jsons %} manifold.insert_query({{ json|safe }});
2 {% endfor %}
3 $(document).ready(function () {
4 var async_queries = new Array();
5 {% for d in query_uuid_domids %} async_queries.push({'query_uuid':"{{ d.query_uuid }}", 'id':{{ d.domid }}});
6 {% endfor %}
7 manifold_async_exec(async_queries);
8 })