Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

load example js correctly with staticfiles #132

Merged
merged 1 commit into from

2 participants

@peterbe
Owner

r?

This solves the simple problem that the out-of-the-box playdoh didn't work as pointed out here:
#131

@fwenzel
Owner

Yes! r+

@peterbe peterbe merged commit 0830016 into mozilla:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 4, 2012
  1. @peterbe
This page is out of date. Refresh to see the latest.
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>
Something went wrong with that request. Please try again.