Skip to content

Commit 49e2839

Browse files
committed
deferred.isResolved: Move deprecated node to attribute of entry.
Remove deprecated category
1 parent d0d1ffe commit 49e2839

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

entries/deferred.isResolved.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<?xml version="1.0"?>
2-
<entry name="deferred.isResolved" type="method" return="Boolean">
2+
<entry name="deferred.isResolved" type="method" return="Boolean" deprecated="1.7" removed="1.8">
33
<title>deferred.isResolved()</title>
44
<signature>
55
<added>1.5</added>
6-
<deprecated>1.7</deprecated>
76
</signature>
87
<desc> Determine whether a Deferred object has been resolved. </desc>
98
<longdesc>
10-
<p>As of jQuery 1.7 this API has been deprecated; please use <a href="http://api.jquery.com/deferred.state"><code>deferred.state()</code></a> instead.</p>
9+
<p>This API is <code>deprecated</code> as of jQuery 1.7 and <code>removed</code> as of jQuery 1.8; please use <a href="http://api.jquery.com/deferred.state"><code>deferred.state()</code></a> instead.</p>
1110
<p>Returns <code>true</code> if the Deferred object is in the resolved state, meaning that either <a href="http://api.jquery.com/deferred.resolve/"><code>deferred.resolve()</code></a> or <a href="http://api.jquery.com/deferred.resolveWith/"><code>deferred.resolveWith()</code></a> has been called for the object and the doneCallbacks have been called (or are in the process of being called).</p>
1211
<p>Note that a Deferred object can be in one of three states: pending, resolved, or rejected; use <a href="http://api.jquery.com/deferred.isRejected/"><code>deferred.isRejected()</code></a> to determine whether the Deferred object is in the rejected state. These methods are primarily useful for debugging, for example to determine whether a Deferred has already been resolved even though you are inside code that intended to reject it.</p>
1312
</longdesc>
1413
<category slug="deferred-object"/>
15-
<category slug="deprecated"/>
1614
<category slug="version/1.5"/>
17-
</entry>
15+
</entry>

0 commit comments

Comments
 (0)