File tree 5 files changed +1
-20
lines changed
5 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 17
17
# Toolbar options
18
18
'DISABLE_PANELS' : {'debug_toolbar.panels.redirects.RedirectsPanel' },
19
19
'INSERT_BEFORE' : '</body>' ,
20
- 'JQUERY_URL' : '//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' ,
21
20
'RENDER_PANELS' : None ,
22
21
'RESULTS_CACHE_SIZE' : 10 ,
23
22
'ROOT_TAG_EXTRA_ATTRS' : '' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{% load i18n %}{% load static %}
2
2
< link rel ="stylesheet " href ="{% static 'debug_toolbar/css/print.css' %} " type ="text/css " media ="print ">
3
3
< link rel ="stylesheet " href ="{% static 'debug_toolbar/css/toolbar.css' %} " type ="text/css ">
4
- {% if toolbar.config.JQUERY_URL %}
5
- <!-- Prevent our copy of jQuery from registering as an AMD module on sites that use RequireJS. -->
6
4
< script src ="{% static 'debug_toolbar/js/jquery_pre.js' %} "> </ script >
7
- < script src ="{{ toolbar.config.JQUERY_URL }} "> </ script >
5
+ < script src ="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js "> </ script >
8
6
< script src ="{% static 'debug_toolbar/js/jquery_post.js' %} "> </ script >
9
- {% else %}
10
- < script src ="{% static 'debug_toolbar/js/jquery_existing.js' %} "> </ script >
11
- {% endif %}
12
7
< script src ="{% static 'debug_toolbar/js/toolbar.js' %} "> </ script >
13
8
< div id ="djDebug " class ="djdt-hidden " dir ="ltr "
14
9
{% if toolbar.store_id %}
Original file line number Diff line number Diff line change @@ -64,14 +64,6 @@ Toolbar options
64
64
The toolbar searches for this string in the HTML and inserts itself just
65
65
before.
66
66
67
- * ``JQUERY_URL ``
68
-
69
- Default: ``'//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' ``
70
-
71
- URL of the copy of jQuery that will be used by the toolbar. Set it to a
72
- locally-hosted version of jQuery for offline development. Make it empty to
73
- rely on a version of jQuery that already exists on every page of your site.
74
-
75
67
* ``RENDER_PANELS ``
76
68
77
69
Default: ``None ``
Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ The Debug Toolbar loads the jQuery_ library from the Google Hosted Libraries
32
32
CDN. Your browser will keep it in cache, allowing you to use the toolbar even
33
33
if you disconnect from the Internet temporarily.
34
34
35
- If you want to use the Debug Toolbar without an Internet connection at all, or
36
- if you refuse to depend on Google's services, look at the ``JQUERY_URL ``
37
- configuration option.
38
-
39
35
.. _jQuery : https://jquery.com/
40
36
41
37
Performance considerations
You can’t perform that action at this time.
0 commit comments