From 032e22dc20091940d3557543bb768d439549cf0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Sun, 16 Feb 2025 13:35:16 +0100 Subject: [PATCH] All: Mark ajax event shorthands as deprecated in 3.5, not 3.3 jQuery 3.3.0 deprecated regular event shorthands: https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/ The AJAX ones only got deprecated in 3.5: https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/ Interstingly, the AJAX shorthands were already added to the `deprecated/deprecated-3.5` category, only the `deprecated` attribute was set incorrectly. --- entries/ajaxComplete-shorthand.xml | 2 +- entries/ajaxError-shorthand.xml | 2 +- entries/ajaxSend-shorthand.xml | 2 +- entries/ajaxStart-shorthand.xml | 2 +- entries/ajaxStop-shorthand.xml | 2 +- entries/ajaxSuccess-shorthand.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/entries/ajaxComplete-shorthand.xml b/entries/ajaxComplete-shorthand.xml index 8e9cc6bf..3f44abc1 100644 --- a/entries/ajaxComplete-shorthand.xml +++ b/entries/ajaxComplete-shorthand.xml @@ -1,5 +1,5 @@ - + .ajaxComplete() Register a handler to be called when Ajax requests complete. This is an AjaxEvent. diff --git a/entries/ajaxError-shorthand.xml b/entries/ajaxError-shorthand.xml index c1794365..f36ac54a 100644 --- a/entries/ajaxError-shorthand.xml +++ b/entries/ajaxError-shorthand.xml @@ -1,5 +1,5 @@ - + .ajaxError() Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. diff --git a/entries/ajaxSend-shorthand.xml b/entries/ajaxSend-shorthand.xml index 37d39222..a9ae031e 100644 --- a/entries/ajaxSend-shorthand.xml +++ b/entries/ajaxSend-shorthand.xml @@ -1,5 +1,5 @@ - + .ajaxSend() Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. diff --git a/entries/ajaxStart-shorthand.xml b/entries/ajaxStart-shorthand.xml index 496152b3..51b2fc9e 100644 --- a/entries/ajaxStart-shorthand.xml +++ b/entries/ajaxStart-shorthand.xml @@ -1,5 +1,5 @@ - + .ajaxStart() Register a handler to be called when the first Ajax request begins. This is an Ajax Event. diff --git a/entries/ajaxStop-shorthand.xml b/entries/ajaxStop-shorthand.xml index d5fe7f30..78121657 100644 --- a/entries/ajaxStop-shorthand.xml +++ b/entries/ajaxStop-shorthand.xml @@ -1,5 +1,5 @@ - + .ajaxStop() Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. diff --git a/entries/ajaxSuccess-shorthand.xml b/entries/ajaxSuccess-shorthand.xml index 95fa6e0e..a9e54335 100644 --- a/entries/ajaxSuccess-shorthand.xml +++ b/entries/ajaxSuccess-shorthand.xml @@ -1,5 +1,5 @@ - + .ajaxSuccess() Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.