diff options
| author | David Baumgold | 2013-11-05 11:26:32 -0500 | 
|---|---|---|
| committer | David Baumgold | 2013-11-05 11:29:07 -0500 | 
| commit | fab05ca8cbb728fddceb8a6aaa117cc684ef06c6 (patch) | |
| tree | 335bcf5743511378c74e611358dffaec540dc9fd /Makefile | |
| parent | 3d643e2ee85ed9b07bbf04beb6c82d8f1e9007d7 (diff) | |
| download | django-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-- | Makefile | 4 | 
1 files changed, 0 insertions, 4 deletions
@@ -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  | 
