Lines Matching refs:xhr
655 var xhr = this.sync(method, this, options);
660 return xhr;
683 var xhr = false;
688 xhr = this.sync('delete', this, options);
691 return xhr;
1441 options.beforeSend = function(xhr) { argument
1442 xhr.setRequestHeader('X-HTTP-Method-Override', type);
1454 options.error = function(xhr, textStatus, errorThrown) { argument
1457 if (error) error.call(options.context, xhr, textStatus, errorThrown);
1461 var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
1462 model.trigger('request', model, xhr, options);
1463 return xhr;