Skip to content

Commit

Permalink
[#2375] sort javascript includes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 1, 2012
1 parent 50448c0 commit 4751db1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ckanext/stats/templates/ckanext/stats/index.html
Expand Up @@ -204,7 +204,7 @@ <h2 class="module-heading"><i class="icon-bar-chart icon-medium"></i> {{ _('Stat

{% block scripts %}
{{ super() }}
<!--[if lte IE 8]><script src="{% url_for_static "ckanext/stats/vendor/excanvas.js" %}"></script><![endif]-->
<script src="{% url_for_static "ckanext/stats/vendor/jquery.flot.js" %}"></script>
<script src="{% url_for_static "ckanext/stats/javascript/modules/plot.js" %}"></script>
<!--[if lte IE 8]><script src="{% url_for_static "/ckanext/stats/vendor/excanvas.js" %}"></script><![endif]-->
<script src="{% url_for_static "/ckanext/stats/vendor/jquery.flot.js" %}"></script>
<script src="{% url_for_static "/ckanext/stats/javascript/modules/plot.js" %}"></script>
{% endblock %}
2 changes: 1 addition & 1 deletion ckanext/stats/templates_legacy/ckanext/stats/index.html
Expand Up @@ -115,7 +115,7 @@ <h3>Users owning most datasets</h3>
</script>

${jsConditionalForIe(8, '&lt;script language="javascript" type="text/javascript" src="' + h.url_for_static('/scripts/vendor/flot/0.7/excanvas.js') + '"&gt;&lt;/script&gt;', 'lte')}
<script type="text/javascript" src="${ h.url_for_static('scripts/vendor/flot/0.7/jquery.flot.js') }">//pointless jscript comment</script>
<script type="text/javascript" src="${ h.url_for_static('/scripts/vendor/flot/0.7/jquery.flot.js') }">//pointless jscript comment</script>
<script type="text/javascript">
var options = {
xaxis: {
Expand Down

0 comments on commit 4751db1

Please sign in to comment.