Merge pull request #132 from asdfryan/master

Issue 83 fix: IE9/10 error
This commit is contained in:
Guillermo Rauch
2013-03-05 14:06:21 -08:00

View File

@@ -248,6 +248,9 @@ Request.prototype.onError = function(err){
*/
Request.prototype.cleanup = function(){
if ('undefined' == typeof this.xhr ) {
return;
}
// xmlhttprequest
this.xhr.onreadystatechange = empty;