Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add the missing add in deferred.catch doc
  • Loading branch information
thefourtheye authored Sep 14, 2018
commit 7086e77459f407b7624cfb840ec9d5e26c0b4438
2 changes: 1 addition & 1 deletion entries/deferred.catch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<p><code>deferred.catch( fn )</code> is an alias to <a href="/deferred.then/"><code>deferred.then( null, fn )</code></a>. Read its page for more information.</p>
</longdesc>
<example>
<desc>Since the <a href="/jQuery.get/"><code>jQuery.get</code></a> method returns a jqXHR object, which is derived from a Deferred object, we can rejection handlers using the <code>.catch</code> method.</desc>
<desc>Since the <a href="/jQuery.get/"><code>jQuery.get</code></a> method returns a jqXHR object, which is derived from a Deferred object, we can add rejection handlers using the <code>.catch</code> method.</desc>
<code><![CDATA[
$.get( "test.php" )
.then( function() {
Expand Down