Skip to content

Commit

Permalink
Revert markitup hacks
Browse files Browse the repository at this point in the history
Now that django-markitup doesn't use inline JS any more.

This was my testing commit for zsiciarz/django-markitup#26
  • Loading branch information
stefanor committed Feb 1, 2018
1 parent 5ae3939 commit 7e0e5e3
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 38 deletions.
4 changes: 0 additions & 4 deletions wafer/compare/templates/admin/wafer.compare/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,3 @@
</li>
{% endif %}
{% endblock %}
{% block footer %}
{{ block.super }}
<script src="{% static 'js/markitup.js' %}"></script>
{% endblock %}
4 changes: 0 additions & 4 deletions wafer/pages/templates/wafer.pages/page_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ <h1>{% trans "Edit Page" %}</h1>
{% crispy form %}
</section>
{% endblock %}
{% block extra_foot %}
{{ block.super }}
<script type="text/javascript" src="{% static 'js/markitup.js' %}"></script>
{% endblock %}
2 changes: 1 addition & 1 deletion wafer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
MEDUSA_DEPLOY_DIR = os.path.join(project_root, 'static_mirror')

MARKITUP_FILTER = ('markdown.markdown', {'safe_mode': True})
JQUERY_URL = 'vendor/jquery/dist/jquery.min.js'
JQUERY_URL = None
SELECT2_USE_BUNDLED_JQUERY = False

REST_FRAMEWORK = {
Expand Down
6 changes: 0 additions & 6 deletions wafer/sponsors/templates/admin/sponsors/change_form.html

This file was deleted.

15 changes: 0 additions & 15 deletions wafer/static/js/markitup.js

This file was deleted.

4 changes: 0 additions & 4 deletions wafer/talks/templates/wafer.talks/talk_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,3 @@ <h1>{% trans "Talk Submission" %}</h1>
{% endif %}
</section>
{% endblock %}
{% block extra_foot %}
{{ block.super }}
<script type="text/javascript" src="{% static 'js/markitup.js' %}"></script>
{% endblock %}
4 changes: 0 additions & 4 deletions wafer/templates/markitup/editor.html

This file was deleted.

0 comments on commit 7e0e5e3

Please sign in to comment.