Skip to content

Commit c6d7d45

Browse files
committed
js: Update jQuery to 3.7.1 and jQuery Migrate to 3.4.0
1 parent f91bb60 commit c6d7d45

File tree

8 files changed

+996
-768
lines changed

8 files changed

+996
-768
lines changed

book/dlang.org.ddoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ COMMON_HEADERS_DLANG=
3030
<link rel="stylesheet" href="$(STATIC css/codemirror.css)">
3131
_=
3232
COMMON_SCRIPTS =
33-
$(SCRIPTLOAD https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js)
34-
$(SCRIPT window.jQuery || document.write('\x3Cscript src="$(STATIC js/jquery-2.2.4.min.js)">\x3C/script>');$(EXTRA_JS))
35-
$(SCRIPTLOAD $(STATIC js/jquery-migrate-1.4.1.js))
33+
$(SCRIPTLOAD https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js)
34+
$(SCRIPT window.jQuery || document.write('\x3Cscript src="$(STATIC js/jquery-3.7.1.min.js)">\x3C/script>');$(EXTRA_JS))
35+
$(SCRIPTLOAD $(STATIC js/jquery-migrate-3.4.0.js))
3636
$(SCRIPTLOAD $(STATIC js/dlang.js))
3737
$(COMMON_SCRIPTS_DLANG)
3838
_=

dlang.org.ddoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ COMMON_HEADERS_DLANG=
3131
<link rel="stylesheet" href="$(STATIC css/codemirror.css)">
3232
_=
3333
COMMON_SCRIPTS =
34-
$(SCRIPTLOAD https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js)
35-
$(SCRIPT window.jQuery || document.write('\x3Cscript src="$(STATIC js/jquery-2.2.4.min.js)">\x3C/script>');$(EXTRA_JS))
36-
$(SCRIPTLOAD $(STATIC js/jquery-migrate-1.4.1.js))
34+
$(SCRIPTLOAD https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js)
35+
$(SCRIPT window.jQuery || document.write('\x3Cscript src="$(STATIC js/jquery-3.7.1.min.js)">\x3C/script>');$(EXTRA_JS))
36+
$(SCRIPTLOAD $(STATIC js/jquery-migrate-3.4.0.js))
3737
$(SCRIPTLOAD $(STATIC js/dlang.js))
3838
$(COMMON_SCRIPTS_DLANG)
3939
_=

dpl-docs/views/layout.dt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ html(lang='en-US')
3030
link(rel='stylesheet', href='#{root_dir}css/ddox.css')
3131
link(rel='stylesheet', href='https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css')
3232
link(rel='shortcut icon', href='#{root_dir}favicon.ico')
33-
script(src='https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js', type='text/javascript')
34-
script(type='text/javascript', src='#{root_dir}js/jquery-migrate-1.4.1.js')
33+
script(src='https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js', type='text/javascript')
34+
script(type='text/javascript', src='#{root_dir}js/jquery-migrate-3.4.0.js')
3535
meta(name='viewport', content='width=device-width, initial-scale=1.0, minimum-scale=0.1, maximum-scale=10.0')
3636

3737
body.std(id='#{info.node.moduleName}')
@@ -229,12 +229,12 @@ html(lang='en-US')
229229
#copyright.smallprint
230230
| Copyright &copy; 1999-#{year} by the <a href="#{root_dir}foundation_overview.html">D Language Foundation</a> | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>.
231231

232-
script(type='text/javascript', src='https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js')
232+
script(type='text/javascript', src='https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js')
233233
|
234234
script(type='text/javascript').
235-
window.jQuery || document.write('\x3Cscript src="#{root_dir}js/jquery-2.2.4.min.js">\x3C/script>')
235+
window.jQuery || document.write('\x3Cscript src="#{root_dir}js/jquery-3.7.1.min.js">\x3C/script>')
236236
|
237-
script(type='text/javascript', src='#{root_dir}js/jquery-migrate-1.4.1.js')
237+
script(type='text/javascript', src='#{root_dir}js/jquery-migrate-3.4.0.js')
238238
|
239239
script(type='text/javascript', src='#{root_dir}js/codemirror-compressed.js')
240240
|

js/jquery-2.2.4.min.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

js/jquery-3.7.1.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)