docs: function (uri, location) {
              var uriCheck = this._uriScheme.exec(uri.toLowerCase());
  
              if (uriCheck && location) {
                  var scheme = uriCheck[1], authority = uriCheck[2];
  
                  if (this._uriLocal.test(scheme)) {
                      return this.__local;
                  } else if (scheme != location.protocol || authority != location.host) {
                      // Having different protocol or host we must use XDR
                      return this.__crossDomain;
                  }
              }
  
              // For any other request go for XHR
              return this.__sameDomain;
          }