diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-03-23 15:03:06 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-03-30 23:45:17 +0200 |
commit | 6072d150d61655ec07f714e1d58a0bd7baa5ec3f (patch) | |
tree | 97ebfcd10460b6333d8429c6b2e255807409d15e /src/ajax | |
parent | 693f1b537b0a19cda8b7e8f5379bffa5351b8a6e (diff) | |
download | jquery-6072d150d61655ec07f714e1d58a0bd7baa5ec3f.tar.gz jquery-6072d150d61655ec07f714e1d58a0bd7baa5ec3f.zip |
Docs: Update support comments to follow the new syntax
The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
Diffstat (limited to 'src/ajax')
-rw-r--r-- | src/ajax/parseXML.js | 2 | ||||
-rw-r--r-- | src/ajax/xhr.js | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ajax/parseXML.js b/src/ajax/parseXML.js index eb17dbd26..8b13139a5 100644 --- a/src/ajax/parseXML.js +++ b/src/ajax/parseXML.js @@ -9,7 +9,7 @@ jQuery.parseXML = function( data ) { return null; } - // Support: IE 9-11 only + // Support: IE 9 - 11 only // IE throws on parseFromString with invalid input. try { xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index 9b8f47310..5a93891ab 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -15,7 +15,7 @@ var xhrSuccessStatus = { // File protocol always yields status code 0, assume 200 0: 200, - // Support: IE9 only + // Support: IE <=9 only // #1450: sometimes IE returns 1223 when it should be 204 1223: 204 }, @@ -79,7 +79,7 @@ jQuery.ajaxTransport( function( options ) { xhr.abort(); } else if ( type === "error" ) { - // Support: IE9 only + // Support: IE <=9 only // On a manual native abort, IE9 throws // errors on any property access that is not readyState if ( typeof xhr.status !== "number" ) { @@ -97,7 +97,7 @@ jQuery.ajaxTransport( function( options ) { xhrSuccessStatus[ xhr.status ] || xhr.status, xhr.statusText, - // Support: IE9 only + // Support: IE <=9 only // IE9 has no XHR2 but throws on binary (trac-11426) // For XHR2 non-text, let the caller handle it (gh-2498) ( xhr.responseType || "text" ) !== "text" || @@ -115,7 +115,7 @@ jQuery.ajaxTransport( function( options ) { xhr.onload = callback(); errorCallback = xhr.onerror = callback( "error" ); - // Support: IE9 only + // Support: IE 9 only // Use onreadystatechange to replace onabort // to handle uncaught aborts if ( xhr.onabort !== undefined ) { |