You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/04/07 23:04:58 UTC

[comdev-events-site] 03/04: Update to latest jquery

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-events-site.git

commit 98f8aa5d7dced63eea7fb9b2bfd0c82f8e4d8dc8
Author: Sebb <se...@apache.org>
AuthorDate: Sat Apr 8 00:00:51 2023 +0100

    Update to latest jquery
    
    client.js does not appear to be needed
---
 source/_index.md        | 4 +---
 source/event/__index.md | 3 +--
 static/js/jquery.js     | 4 ----
 static/js/jquery.min.js | 2 ++
 4 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/source/_index.md b/source/_index.md
index 5b48dc5..233d4fd 100644
--- a/source/_index.md
+++ b/source/_index.md
@@ -44,8 +44,6 @@ our community, but are not official Foundation events.</em>
 ApacheCon and all ASF-run events operate under the terms of the [ASF's Code of Conduct](//www.apache.org/foundation/policies/conduct.html).
 
 
-<script src="/js/jquery.js"></script>
+<script src="/js/jquery.min.js"></script>
 <script src="/js/events-calendar.js"></script>
-<script src="https://apis.google.com/js/client.js"></script>
-
 
diff --git a/source/event/__index.md b/source/event/__index.md
index 9af7ff8..d499748 100644
--- a/source/event/__index.md
+++ b/source/event/__index.md
@@ -18,8 +18,7 @@ For a complete list of events see our [calendar](calendar.html).
 In addition to Official Apache Events, there are a wide range of other
 events which feature Apache projects and technologies.
 
-<script src="/js/jquery.js"></script>
+<script src="/js/jquery.min.js"></script>
 <script src="/js/events-calendar.js"></script>
-<script src="https://apis.google.com/js/client.js"></script>
 
   [1]: https://www.apache.org/foundation/marks/events.html
diff --git a/static/js/jquery.js b/static/js/jquery.js
deleted file mode 100644
index 198b3ff..0000000
--- a/static/js/jquery.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement( [...]
-f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]| [...]
-{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replac [...]
\ No newline at end of file
diff --git a/static/js/jquery.min.js b/static/js/jquery.min.js
new file mode 100644
index 0000000..0de648e
--- /dev/null
+++ b/static/js/jquery.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.4 | (c) OpenJS 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,y=n.hasOwnProperty,a=y.toString,l= [...]