This is an automated email from the ASF dual-hosted git repository.
joemcdonnell pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 307fe8a8b IMPALA-12055: Use jquery.min.js from local repo
307fe8a8b is described below
commit 307fe8a8ba8bfc179ba7b199665a763b148b895f
Author: stiga-huang <[email protected]>
AuthorDate: Tue Apr 11 19:42:57 2023 +0800
IMPALA-12055: Use jquery.min.js from local repo
Our website depends on
https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js
In some regions, it's pretty slow to get this file and it usually fails
at last.
This adds the file to the asf-site branch so the website can use a local
copy of it. Also bumps the jquery version to 3.5.1 to match the master
branch.
Tests:
- Verified the pages locally.
Change-Id: Ie8c4a9c2b9b64128e610a803363c2c5be6e57018
Reviewed-on: http://gerrit.cloudera.org:8080/19720
Reviewed-by: Daniel Becker <[email protected]>
Tested-by: Quanlong Huang <[email protected]>
---
bylaws.html | 4 +---
community.html | 2 +-
downloads.html | 4 +---
impala-docs.html | 2 +-
index.html | 2 +-
js/jquery-3.5.1.min.js | 2 ++
overview.html | 2 +-
7 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/bylaws.html b/bylaws.html
index 1eecd08a5..d4168c637 100644
--- a/bylaws.html
+++ b/bylaws.html
@@ -85,9 +85,7 @@ body {
<script src="js/html5shiv.js"></script>
<![endif]-->
- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" type=
- "text/javascript">
-</script>
+ <script src="js/jquery-3.5.1.min.js" type="text/javascript"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" type=
"text/javascript">
</script>
diff --git a/community.html b/community.html
index 0e00e1f97..e58c14118 100644
--- a/community.html
+++ b/community.html
@@ -81,7 +81,7 @@
<script src="js/html5shiv.js"></script>
<![endif]-->
- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+ <script src="js/jquery-3.5.1.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
diff --git a/downloads.html b/downloads.html
index 24c13fd31..05baae519 100644
--- a/downloads.html
+++ b/downloads.html
@@ -82,9 +82,7 @@ body {
<script src="js/html5shiv.js"></script>
<![endif]-->
- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" type=
- "text/javascript">
- </script>
+ <script src="js/jquery-3.5.1.min.js" type="text/javascript"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" type=
"text/javascript">
</script>
diff --git a/impala-docs.html b/impala-docs.html
index 660f90857..a3cdb685f 100644
--- a/impala-docs.html
+++ b/impala-docs.html
@@ -80,7 +80,7 @@
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+ <script src="js/jquery-3.5.1.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
diff --git a/index.html b/index.html
index d2118e7e8..cac412256 100644
--- a/index.html
+++ b/index.html
@@ -80,7 +80,7 @@
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+ <script src="js/jquery-3.5.1.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
diff --git a/js/jquery-3.5.1.min.js b/js/jquery-3.5.1.min.js
new file mode 100644
index 000000000..b0614034a
--- /dev/null
+++ b/js/jquery-3.5.1.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v3.5.1 | (c) JS Foundation and other contributors |
jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof
module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw
new Error("jQuery requires a window with a document");return
t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use
strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return
t.flat.call(e)}:function(e){return
t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=
[...]
diff --git a/overview.html b/overview.html
index 3618dfbe9..9452aca25 100644
--- a/overview.html
+++ b/overview.html
@@ -80,7 +80,7 @@
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+ <script src="js/jquery-3.5.1.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>