]> source.dussan.org Git - jquery.git/commitdiff
Ajax: Rename Spartan to Edge in a comment
authorMichał Gołębiowski <m.goleb@gmail.com>
Mon, 18 May 2015 21:03:53 +0000 (23:03 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 18 May 2015 21:03:53 +0000 (23:03 +0200)
src/ajax/xhr.js

index c563992f9d99d13a38203746458b08e498bbd433..7c6126aa2ca11b84822e416319ef308bad744efd 100644 (file)
@@ -18,8 +18,8 @@ jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ?
                // Support: IE 10-11
                // IE seems to error on cross-domain PATCH requests when ActiveX XHR
                // is used. In IE 9+ always use the native XHR.
-               // Note: this condition won't catch Spartan as it doesn't define
-               // document.documentMode but it also doesn't have ActiveX so it won't
+               // Note: this condition won't catch Edge as it doesn't define
+               // document.documentMode but it also doesn't support ActiveX so it won't
                // reach this code.
                if ( document.documentMode > 8 ) {
                        return createStandardXHR();