sproutcore/sproutcore — pull request #811 by publickeating (2012-08-19 21:12:52+00:00)
Title: XHR 2 Event Handling Support

Adds XHR 2 event notification support.

Here are some example uses:

req.notify('progress', this, this.reqDidProgress); // Handle 'progress' events
req.notify('abort', this, this.reqDidAbort); // Handle 'abort' events
req.notify('upload.progress', this, this.reqUploadDidProgress); // Handle 'progress' events on the XMLHttpRequestUpload