My currentReq var is set to a call back method:
this.currentReq = cb.apply(this,args);
Later I may wish to abort the method if it is an ajax call.
I know I can use:
this.currentReq.abort();
But what if the currentReq is not an ajax call? How can I test for this and only abort if its an ajax call? I get an error when I try and abort on a standard deferred.