aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Baumgold2013-11-05 11:26:32 -0500
committerDavid Baumgold2013-11-05 11:29:07 -0500
commitfab05ca8cbb728fddceb8a6aaa117cc684ef06c6 (patch)
tree335bcf5743511378c74e611358dffaec540dc9fd /Makefile
parent3d643e2ee85ed9b07bbf04beb6c82d8f1e9007d7 (diff)
downloaddjango-debug-toolbar-fab05ca8cbb728fddceb8a6aaa117cc684ef06c6.tar.bz2
Change how JS libs are loaded
This change makes Django-Debug-Toolbar use the existing version of jQuery on the page if one exists, and only loads jQuery if it isn't already loaded. It also explicitly loads the jQuery cookie plugin and the toolbar script as separate files. Finally, we are no longer compressing/minimizing scripts; this is for debug purposes, and presumably will not be served in production.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fb87b2f..b9f3bb3 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,6 @@ coverage:
coverage run --branch --source=debug_toolbar `which django-admin.py` test tests
coverage html
-compress_js:
- yuicompressor debug_toolbar/static/debug_toolbar/js/jquery.js > debug_toolbar/static/debug_toolbar/js/toolbar.min.js
- yuicompressor debug_toolbar/static/debug_toolbar/js/toolbar.js >> debug_toolbar/static/debug_toolbar/js/toolbar.min.js
-
compress_css:
yuicompressor --type css debug_toolbar/static/debug_toolbar/css/toolbar.css > debug_toolbar/static/debug_toolbar/css/toolbar.min.css