From 03ea98efd98179a44c41126d6abc4a034bcb10ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?=
Date: Thu, 9 Apr 2020 00:16:45 +0200
Subject: [PATCH] All: Updates for jQuery 1.12/2.2-3.5
Fixes #947
Fixes #949
Fixes #950
Fixes #1142
Ref #970
Ref #972
---
categories.xml | 41 ++++++++++++++++++-
entries/addClass.xml | 33 +++++++++++++++-
entries/contents.xml | 2 +
entries/css.xml | 4 ++
entries/eq-selector.xml | 4 +-
entries/even-selector.xml | 5 ++-
entries/even.xml | 47 ++++++++++++++++++++++
entries/filter.xml | 4 +-
entries/first-selector.xml | 4 +-
entries/first.xml | 19 ++++-----
entries/gt-selector.xml | 4 +-
entries/hover.xml | 4 +-
entries/jQuery.ajax.xml | 3 +-
entries/jQuery.extend.xml | 2 +
entries/jQuery.get.xml | 3 +-
entries/jQuery.getScript.xml | 2 +
entries/jQuery.holdReady.xml | 13 +++++-
entries/jQuery.htmlPrefilter.xml | 68 ++------------------------------
entries/jQuery.isArray.xml | 6 ++-
entries/jQuery.isFunction.xml | 4 +-
entries/jQuery.isNumeric.xml | 6 ++-
entries/jQuery.isWindow.xml | 6 +++
entries/jQuery.now.xml | 10 +++--
entries/jQuery.post.xml | 3 +-
entries/jQuery.proxy.xml | 6 ++-
entries/jQuery.trim.xml | 6 ++-
entries/jQuery.type.xml | 14 ++++---
entries/last-selector.xml | 4 +-
entries/last.xml | 11 ++++--
entries/lt-selector.xml | 4 +-
entries/not.xml | 4 +-
entries/nth-child-selector.xml | 13 ++++--
entries/odd-selector.xml | 5 ++-
entries/odd.xml | 47 ++++++++++++++++++++++
entries/removeClass.xml | 44 +++++++++++++++++++--
entries/toggleClass.xml | 31 +++++++++++----
entries2html.xsl | 2 +-
37 files changed, 364 insertions(+), 124 deletions(-)
create mode 100644 entries/even.xml
create mode 100644 entries/odd.xml
diff --git a/categories.xml b/categories.xml
index 78f012b1..6b752af5 100644
--- a/categories.xml
+++ b/categories.xml
@@ -71,6 +71,11 @@
For more information, see the Release Notes/Changelog at https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
]]>
+
+ For more information, see the Release Notes/Changelog at https://blog.jquery.com/2017/03/16/jquery-3-2-0-is-out/
+ ]]>
+
For more information, see the Release Notes/Changelog at https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/
@@ -81,6 +86,11 @@
For more information, see the Release Notes/Changelog at https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/
]]>
+
+ For more information, see the Release Notes/Changelog at https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
+ ]]>
+
@@ -447,7 +457,36 @@ var files = event.originalEvent.dataTransfer.files;
jQuery.readyException was added.
+ Aspects of the API that were changed in the corresponding version of jQuery. Version 3.1 added the jQuery.readyException API.
+ For more information, see the Release Notes/Changelog
+
+ ]]>
+
+
+ Aspects of the API that were changed in the corresponding version of jQuery. Version 3.2 added support for custom CSS properties, made .contents()
work on the <template>
element & made .width()
& .height()
ignore CSS transforms. A few APIs were deprecated. The deprecated module was added back to the slim build.
+ For more information, see the Release Notes/Changelog
+
+ ]]>
+
+
+ Aspects of the API that were changed in the corresponding version of jQuery. .addClass()
, .removeClass()
& .toggleClass()
now work on arrays of classes; a few APIs were deprecated.
+ For more information, see the Release Notes/Changelog
+
+ ]]>
+
+
+ Aspects of the API that were changed in the corresponding version of jQuery. nonce
& nomodule
attributes are now preserved during script manipulation, layout thrashing was eliminated in some cases in .width()
& .height()
APIs. Radio elements state is now updated before event handlers run. Passing data now works when triggering all events, including focus
. A minor security fix is also included.
+ For more information, see the Release Notes/Changelog
+
+ ]]>
+
+
+ Aspects of the API that were changed in the corresponding version of jQuery. Security fixes, new .even()
& .odd()
methods; jQuery.globalEval
now accepts context; unsuccessful HTTP script responses are no longer evaluated; performance improvements. jQuery.trim
is now deprecated.
+ For more information, see the jQuery Core 3.5 Upgrade guide and the Release Notes/Changelog
]]>
diff --git a/entries/addClass.xml b/entries/addClass.xml
index 3b28a708..819f8e14 100644
--- a/entries/addClass.xml
+++ b/entries/addClass.xml
@@ -7,10 +7,16 @@
One or more space-separated classes to be added to the class attribute of each matched element.
+
+ 3.3
+
+ An array of classes to be added to the class attribute of each matched element.
+
+
1.4
- A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this
refers to the current element in the set.
+ A function returning one or more space-separated classes or an array of classes to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this
refers to the current element in the set.
@@ -82,6 +88,29 @@ $( "p" ).last().addClass( "selected highlight" );
Hello
and
Goodbye
+]]>