Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix bug in minifier

  • Loading branch information...
commit 5d40d96f767963e9d34f287b237870b986b3e1bb 1 parent 37790fa
Justine Tunney authored
View
2  chat/minify.js
@@ -19,7 +19,7 @@ for (var n in infiles) {
var infile = infiles[n];
var incode = fs.readFileSync(infile, 'utf8');
size += incode.length;
- outcode += min(incode) + '\n';
+ outcode += min(incode) + ';\n';
}
fs.writeFileSync(outfile, outcode);
View
4 occupywallst/templates/admin/base_site.html
@@ -43,10 +43,10 @@ <h1 id="site-name">OccupyWallSt Backend</h1>
<script src="/media/js/jquery-1.6.2{% if not DEBUG %}.min{% endif %}.js" type="text/javascript"></script>
{% if not DEBUG and OWS_SCRIPTS_MINIFIED %}
- <script src="{{ MEDIA_URL }}{{ OWS_SCRIPTS_MINIFIED }}?v=10" type="text/javascript"></script>
+ <script src="{{ MEDIA_URL }}{{ OWS_SCRIPTS_MINIFIED }}?v=11" type="text/javascript"></script>
{% else %}
{% for script in OWS_SCRIPTS %}
- <script src="{{ MEDIA_URL }}{{ script }}?v=10" type="text/javascript"></script>
+ <script src="{{ MEDIA_URL }}{{ script }}?v=11" type="text/javascript"></script>
{% endfor %}
{% endif %}
View
4 occupywallst/templates/occupywallst/base.html
@@ -84,10 +84,10 @@
{% endblock body %}
<script src="/media/js/jquery-1.6.2{% if not DEBUG %}.min{% endif %}.js" type="text/javascript"></script>
{% if not DEBUG and OWS_SCRIPTS_MINIFIED %}
- <script src="{{ MEDIA_URL }}{{ OWS_SCRIPTS_MINIFIED }}?v=10" type="text/javascript"></script>
+ <script src="{{ MEDIA_URL }}{{ OWS_SCRIPTS_MINIFIED }}?v=11" type="text/javascript"></script>
{% else %}
{% for script in OWS_SCRIPTS %}
- <script src="{{ MEDIA_URL }}{{ script }}?v=10" type="text/javascript"></script>
+ <script src="{{ MEDIA_URL }}{{ script }}?v=11" type="text/javascript"></script>
{% endfor %}
{% endif %}
<script src="//chat.{{ request.get_host }}/socket.io/socket.io.js" type="text/javascript"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.