mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8330063: Upgrade jQuery to 3.7.1
Reviewed-by: mdoerr
Backport-of: 46a2ce4eb4
This commit is contained in:
committed by
Vitaly Provodin
parent
a4b6eb6874
commit
ce74e58ca8
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -101,7 +101,7 @@ public class DocPaths {
|
||||
public static final DocPath LINK_SVG = DocPath.create("link.svg");
|
||||
|
||||
/** The name of the default jQuery javascript file. */
|
||||
public static final DocPath JQUERY_JS = DocPath.create("jquery-3.6.1.min.js");
|
||||
public static final DocPath JQUERY_JS = DocPath.create("jquery-3.7.1.min.js");
|
||||
|
||||
/** The name of the default jQuery UI stylesheet file. */
|
||||
public static final DocPath JQUERY_UI_CSS = DocPath.create("jquery-ui.min.css");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
## jQuery v3.6.1
|
||||
## jQuery v3.7.1
|
||||
|
||||
### jQuery License
|
||||
```
|
||||
jQuery v 3.6.1
|
||||
jQuery v 3.7.1
|
||||
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
@@ -23,50 +23,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
******************************************
|
||||
|
||||
The jQuery JavaScript Library v3.6.1 also includes Sizzle.js
|
||||
|
||||
Sizzle.js includes the following license:
|
||||
|
||||
Copyright JS Foundation and other contributors, https://js.foundation/
|
||||
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
available at https://github.com/jquery/sizzle
|
||||
|
||||
The following license applies to all parts of this software except as
|
||||
documented below:
|
||||
|
||||
====
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
====
|
||||
|
||||
All files located in the node_modules and external directories are
|
||||
externally maintained libraries used by this software which have their
|
||||
own licenses; we recommend you read them, as their terms may differ from
|
||||
the terms above.
|
||||
|
||||
*********************
|
||||
|
||||
```
|
||||
|
||||
@@ -421,7 +421,7 @@ public class TestSearch extends JavadocTester {
|
||||
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
|
||||
""",
|
||||
"""
|
||||
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
|
||||
<script type="text/javascript" src="script-dir/jquery-3.7.1.min.js"></script>
|
||||
""",
|
||||
"""
|
||||
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>""",
|
||||
@@ -671,7 +671,7 @@ public class TestSearch extends JavadocTester {
|
||||
void checkJqueryAndImageFiles(boolean expectedOutput) {
|
||||
checkFiles(expectedOutput,
|
||||
"search.js",
|
||||
"script-dir/jquery-3.6.1.min.js",
|
||||
"script-dir/jquery-3.7.1.min.js",
|
||||
"script-dir/jquery-ui.min.js",
|
||||
"script-dir/jquery-ui.min.css",
|
||||
"resources/x.png",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -36,7 +36,7 @@ function loadIndexFiles(docsPath) {
|
||||
tryLoad(docsPath, "type-search-index.js");
|
||||
tryLoad(docsPath, "member-search-index.js");
|
||||
tryLoad(docsPath, "tag-search-index.js");
|
||||
load(docsPath + "/search.js");
|
||||
load(docsPath + "/script-files/search.js");
|
||||
}
|
||||
|
||||
function tryLoad(docsPath, file) {
|
||||
@@ -63,6 +63,12 @@ var $ = function(f) {
|
||||
f();
|
||||
} else {
|
||||
return {
|
||||
attr: function() {
|
||||
return this;
|
||||
},
|
||||
css: function() {
|
||||
return this;
|
||||
},
|
||||
val: function() {
|
||||
return this;
|
||||
},
|
||||
|
||||
@@ -202,7 +202,7 @@ class APITest {
|
||||
"index-all.html",
|
||||
"index.html",
|
||||
"link.svg",
|
||||
"script-dir/jquery-3.6.1.min.js",
|
||||
"script-dir/jquery-3.7.1.min.js",
|
||||
"script-dir/jquery-ui.min.js",
|
||||
"script-dir/jquery-ui.min.css",
|
||||
"search.html",
|
||||
|
||||
Reference in New Issue
Block a user