Permalink
Browse files

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

load example js correctly with staticfiles
  • Loading branch information...
2 parents 3ca0071 + c9d0aa0 commit 08300166a7109ed9126bb857c377337da3846e1b @peterbe peterbe committed Oct 2, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 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>

0 comments on commit 0830016

Please sign in to comment.