Skip to content

Commit

Permalink
move gogogo/js stuff to appropriate place. do not use django's static…
Browse files Browse the repository at this point in the history
… serve due to performance reasons

also, having images in a directory called "js" is misleading
  • Loading branch information
hnfong committed Sep 13, 2009
1 parent 0cc887e commit 55cc1e8
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app.yaml
Expand Up @@ -9,6 +9,10 @@ handlers:
- url: /media
static_dir: _generated_media

# Static: gogogo
- url: /static
static_dir: gogogo/static

# Static: Gaebar
- url: /gaebar/static
static_dir: gaebar/static
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion templates/base.html
Expand Up @@ -16,7 +16,7 @@
{% endblock %}

{% block js %}
<!--[if lte IE 6]><script src="/js/ie6-warning.js"></script><script>window.onload=function(){e("/js/ie6/")}</script><![endif]-->
<!--[if lte IE 6]><script src="/static/js/ie6-warning.js"></script><script>window.onload=function(){e("/static/images/ie6-warning/")}</script><![endif]-->
<script type="text/javascript" src="{{ MEDIA_URL }}combined-{{ LANGUAGE_CODE }}.js"></script>
<script type="text/javascript">
$(document).ready(function() {
Expand Down

0 comments on commit 55cc1e8

Please sign in to comment.