Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #132 from peterbe/bleach-js-example-working

load example js correctly with staticfiles
  • Loading branch information...
commit 08300166a7109ed9126bb857c377337da3846e1b 2 parents 3ca0071 + c9d0aa0
@peterbe peterbe authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 project/base/templates/example_base.html
View
6 project/base/templates/example_base.html
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.