How can I monitor Backbone ajax requests?
<p>I thought this would be easy b.c. Backbone uses jQuery and has a single access point I thought I could just do this:</p>

<pre><code>  Backbone.ajax = function() {
    var xhr = Backbone.$.ajax.apply(Backbone.$, arguments); 
    // xhr.addEventListener("loadend", loadEnd);
    return xhr;
  };
</code></pre>

<p>but for some reason I can not load an event listener to the xhr object as I normally do.</p>

<p>I get an error stating that addEventListener is not a function.</p>