Skip to content

Commit 635f5ff

Browse files
authored
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. Closes gh-1268
1 parent 118b480 commit 635f5ff

6 files changed

+6
-6
lines changed

entries/ajaxComplete-shorthand.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<entry type="method" name="ajaxComplete" return="jQuery" deprecated="3.3">
2+
<entry type="method" name="ajaxComplete" return="jQuery" deprecated="3.5">
33
<title>.ajaxComplete()</title>
44
<desc>Register a handler to be called when Ajax requests complete. This is an <a href="/Ajax_Events/">AjaxEvent</a>.</desc>
55
<signature>

entries/ajaxError-shorthand.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<entry type="method" name="ajaxError" return="jQuery" deprecated="3.3">
2+
<entry type="method" name="ajaxError" return="jQuery" deprecated="3.5">
33
<title>.ajaxError()</title>
44
<desc>Register a handler to be called when Ajax requests complete with an error. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
55
<signature>

entries/ajaxSend-shorthand.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<entry type="method" name="ajaxSend" return="jQuery" deprecated="3.3">
2+
<entry type="method" name="ajaxSend" return="jQuery" deprecated="3.5">
33
<title>.ajaxSend()</title>
44
<desc>Attach a function to be executed before an Ajax request is sent. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
55
<signature>

entries/ajaxStart-shorthand.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<entry type="method" name="ajaxStart" return="jQuery" deprecated="3.3">
2+
<entry type="method" name="ajaxStart" return="jQuery" deprecated="3.5">
33
<title>.ajaxStart()</title>
44
<desc>Register a handler to be called when the first Ajax request begins. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
55
<signature>

entries/ajaxStop-shorthand.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<entry type="method" name="ajaxStop" return="jQuery" deprecated="3.3">
2+
<entry type="method" name="ajaxStop" return="jQuery" deprecated="3.5">
33
<title>.ajaxStop()</title>
44
<desc>Register a handler to be called when all Ajax requests have completed. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
55
<signature>

entries/ajaxSuccess-shorthand.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<entry type="method" name="ajaxSuccess" return="jQuery" deprecated="3.3">
2+
<entry type="method" name="ajaxSuccess" return="jQuery" deprecated="3.5">
33
<title>.ajaxSuccess()</title>
44
<desc>Attach a function to be executed whenever an Ajax request completes successfully. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
55
<signature>

0 commit comments

Comments
 (0)