Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #132 from peterbe/bleach-js-example-working
Browse files Browse the repository at this point in the history
load example js correctly with staticfiles
  • Loading branch information
peterbe committed Oct 2, 2012
2 parents 3ca0071 + c9d0aa0 commit 0830016
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project/base/templates/example_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
</div>

{% block site_js %}
{{ js('example_js') }}
{% compress js %}
<script src="{{ static('examples/js/libs/jquery-1.4.4.min.js') }}"></script>
<script src="{{ static('examples/js/libs/jquery.cookie.js') }}"></script>
<script src="{{ static('examples/js/init.js') }}"></script>
{% endcompress %}
{% endblock %}
</body>
</html>

0 comments on commit 0830016

Please sign in to comment.