aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-01-12 23:23:10 +0100
committerGitHub <noreply@github.com>2022-01-12 23:23:10 +0100
commit95e34b69554cf9d3a52e4d932e581344990f60fa (patch)
tree4aca24707bcfb4ca7312e21f29e4ecf469ffcd1e /src/ajax
parentfa70e8fd3cfcf1ecee33d1ebcbc987d48bb208f4 (diff)
downloadjquery-95e34b69554cf9d3a52e4d932e581344990f60fa.tar.gz
jquery-95e34b69554cf9d3a52e4d932e581344990f60fa.zip
Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`
This is a version of gh-4993 for the `3.x-stable` branch. The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4994 Ref gh-4993 Ref 5d5ea015114092c157311c4948f7cc3d8c8e7f8a
Diffstat (limited to 'src/ajax')
-rw-r--r--src/ajax/xhr.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index 4a31171ac..0c4418bc6 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -18,7 +18,7 @@ var xhrSuccessStatus = {
0: 200,
// Support: IE <=9 only
- // #1450: sometimes IE returns 1223 when it should be 204
+ // trac-1450: sometimes IE returns 1223 when it should be 204
1223: 204
},
xhrSupported = jQuery.ajaxSettings.xhr();
@@ -90,7 +90,7 @@ jQuery.ajaxTransport( function( options ) {
} else {
complete(
- // File: protocol always yields status 0; see #8605, #14207
+ // File: protocol always yields status 0; see trac-8605, trac-14207
xhr.status,
xhr.statusText
);
@@ -151,7 +151,7 @@ jQuery.ajaxTransport( function( options ) {
xhr.send( options.hasContent && options.data || null );
} catch ( e ) {
- // #14683: Only rethrow if this hasn't been notified as an error yet
+ // trac-14683: Only rethrow if this hasn't been notified as an error yet
if ( callback ) {
throw e;
}