From f39bc69cf49a5f34e40fcd30f9b2bd03f341e488 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Tue, 14 May 2013 17:14:20 -0400 Subject: [PATCH] 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) --- templates/zephyr/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/zephyr/index.html b/templates/zephyr/index.html index 3be44192c1..fe47b177bf 100644 --- a/templates/zephyr/index.html +++ b/templates/zephyr/index.html @@ -29,12 +29,6 @@ {% endif %} -{% compressed_js 'app' %} - -{% if debug %} -{% compressed_js 'app_debug' %} -{% endif %} - {# Insert parameters, which have been encoded with JSONEncoderForHTML. #} +{% compressed_js 'app' %} + +{% if debug %} +{% compressed_js 'app_debug' %} +{% endif %} + {% endblock %} {% block content %}