transports.js revision bd780a323ccd4ebcda19da4f2e2d3517849bfc83
var _default,
transports: {
xhr: function () {
return XHR ? new XMLHttpRequest() :
},
xdr: function () {
return XDR ? new XDomainRequest() : null;
},
iframe: {},
flash: null,
nodejs: null
},
defaultTransport: function(id) {
if (id) {
}
else {
return {
c: this.transports[_default](),
};
}
},
customTransport: function(id) {
var o = { c: this.transports[id]() };
return o;
},
var io = this;
switch (event) {
case 'timeout':
case 'abort':
case 'transport error':
event = 'failure';
default:
}
}
});