Permalink
Browse files

Ajax: Rename Spartan to Edge in a comment

  • Loading branch information...
mgol committed May 18, 2015
1 parent 61f812b commit 8d88cd599f0e9c674eb17c60d528205384c12433
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ajax/xhr.js
View
@@ -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();

0 comments on commit 8d88cd5

Please sign in to comment.