File tree Expand file tree Collapse file tree 5 files changed +1
-20
lines changed Expand file tree Collapse file tree 5 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 1717 # Toolbar options
1818 'DISABLE_PANELS' : {'debug_toolbar.panels.redirects.RedirectsPanel' },
1919 'INSERT_BEFORE' : '</body>' ,
20- 'JQUERY_URL' : '//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' ,
2120 'RENDER_PANELS' : None ,
2221 'RESULTS_CACHE_SIZE' : 10 ,
2322 'ROOT_TAG_EXTRA_ATTRS' : '' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{% load i18n %}{% load static %}
22< link rel ="stylesheet " href ="{% static 'debug_toolbar/css/print.css' %} " type ="text/css " media ="print ">
33< 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. -->
64< 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 >
86< 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 %}
127< script src ="{% static 'debug_toolbar/js/toolbar.js' %} "> </ script >
138< div id ="djDebug " class ="djdt-hidden " dir ="ltr "
149 {% if toolbar.store_id %}
Original file line number Diff line number Diff line change @@ -64,14 +64,6 @@ Toolbar options
6464 The toolbar searches for this string in the HTML and inserts itself just
6565 before.
6666
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-
7567* ``RENDER_PANELS ``
7668
7769 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
3232CDN. Your browser will keep it in cache, allowing you to use the toolbar even
3333if you disconnect from the Internet temporarily.
3434
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-
3935.. _jQuery : https://jquery.com/
4036
4137Performance considerations
You can’t perform that action at this time.
0 commit comments