Execute our main app code after we load page_params

We believe this was the source of the occational exception in dev for
page_params being undefined.

(imported from commit 3d085b7af831b4c936f492d02517652bf8509557)
This commit is contained in:
Zev Benjamin 2013-05-14 17:14:20 -04:00 committed by Tim Abbott
parent 93b66737ce
commit f39bc69cf4
1 changed files with 6 additions and 6 deletions

View File

@ -29,12 +29,6 @@
<script type="text/javascript" src="/static/third/handlebars/handlebars.runtime.js"></script>
{% endif %}
{% compressed_js 'app' %}
{% if debug %}
{% compressed_js 'app_debug' %}
{% endif %}
{# Insert parameters, which have been encoded with JSONEncoderForHTML. #}
<script type="text/javascript">
{% autoescape off %}
@ -42,6 +36,12 @@ var page_params = {{ page_params }};
{% endautoescape %}
</script>
{% compressed_js 'app' %}
{% if debug %}
{% compressed_js 'app_debug' %}
{% endif %}
{% endblock %}
{% block content %}
<div class="container-fluid">