io-xdr.js revision 4f97e98455707a2c69c49b2134d474e6d72f07aa
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke SmithExtends IO to provide an alternate, Flash transport, for making
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smithcross-domain requests.
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smith@module io-base
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smith@submodule io-xdr
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke SmithFires when the XDR transport is ready for use.
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smith@event io:xdrReady
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smithvar E_XDR_READY = Y.publish('io:xdrReady', { fireOnce: true }),
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke SmithMap of stored configuration objects when using
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke SmithFlash as the transport for cross-domain requests.
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smith@property _cB
b40f5113b5f28daabc29b6ad49c905f290cf6cb7Luke Smith@type {Object}
_rS = {},
var o = '<object id="io_swf" type="application/x-shockwave-flash" data="' +
c.innerHTML = o;
function _data(o, u, d) {
function _abort(o, c) {
function _isInProgress(o) {
_transport: {},
_ieEvt: function(o, c) {
var io = this,
i = o.id,
o.c.onload = function() {
o.c.onerror = function() {
o.c.ontimeout = function() {
var io = this;
w.setTimeout(function() {
else if (xdr) {
abort: function() {
return o.c ? _abort(o, c) : false;
isInProgress: function() {
xdrResponse: function(e, o, c) {
var io = this,
delete m[o.id];
delete m[o.id];
transport: function(c) {