ded/reqwest — Issue #73: Uncaught TypeError: Cannot call method 'abort' of undefined on line 218
Author: troynt
Created: 2012-02-08 18:20:08+00:00
State: open

line 218
Uncaught TypeError: Cannot call method 'abort' of undefined

The requests are going through as expected, but I get that error message.

I'll probably just add a typeof check there, but I wanted to bring it to your attention.

My AJAX request looks like the following:

var xhr = reqwest({
url: url,
data: options,
dataType: 'jsonp',
type: 'jsonp',
timeout: this.opts.timeout,
crossDomain: true,
success: function(resp) {
callback.success(resp);
},
error: function(resp) {
if (error_timeout) {
clearTimeout(error_timeout);
}
callback.error(resp);
}
});

Thanks,

Troy