Skip to content

Commit

Permalink
Use source JS file in non-production mode #850
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvors committed Dec 15, 2015
1 parent 7b5c13e commit 931cd68
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webcompat/templates/cssfixme.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
<label>
<input type="checkbox" name="compact">Compact output (whitespace only after closing brace)</label>
<pre id="fixedcss"></pre>
<script src="/js/cssfixme.min.js"></script>
{%- block extrascripts -%}
{%- if config.PRODUCTION or config.DEVELOPMENT -%}
<script src="{{ url_for('static', filename='js/cssfixme.min.js')|bust_cache }}"></script>
{%- else -%}
<script src="{{ url_for('static', filename='js/lib/css-fixme.js') }}"></script>
{%- endif -%}
{%- endblock %}
</main>
</div>
{% endblock %}

0 comments on commit 931cd68

Please sign in to comment.