File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ var djdt = { jQuery : jQuery } ;
Original file line number Diff line number Diff line change
1
+ var djdt = { jQuery : jQuery . noConflict ( true ) } ; window . define = _djdt_define_backup ;
Original file line number Diff line number Diff line change
1
+ var _djdt_define_backup = window . define ; window . define = undefined ;
Original file line number Diff line number Diff line change 5
5
< link rel ="stylesheet " href ="{% static 'debug_toolbar/css/toolbar.css' %} " type ="text/css " />
6
6
{% if toolbar.config.JQUERY_URL %}
7
7
<!-- Prevent our copy of jQuery from registering as an AMD module on sites that use RequireJS. -->
8
- < script > var _djdt_define_backup = window . define ; window . define = undefined ; </ script >
8
+ < script src =" {% static 'debug_toolbar/js/jquery_pre.js' %} " > </ script >
9
9
< script src ="{{ toolbar.config.JQUERY_URL }} "> </ script >
10
- < script > var djdt = { jQuery : jQuery . noConflict ( true ) } ; window . define = _djdt_define_backup ; </ script >
10
+ < script src =" {% static 'debug_toolbar/js/jquery_post.js' %} " > </ script >
11
11
{% else %}
12
- < script > var djdt = { jQuery : jQuery } ; </ script >
12
+ < script src =" {% static 'debug_toolbar/js/jquery_existing.js' %} " > </ script >
13
13
{% endif %}
14
14
< script src ="{% static 'debug_toolbar/js/toolbar.js' %} "> </ script >
15
15
< div id ="djDebug " style ="display:none; " dir ="ltr "
You can’t perform that action at this time.
0 commit comments