src/cm/media/js/lib/yui/yui_3.0.0b1/build/io/io-xdr-min.js
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 0 40c8f766c9b8
permissions -rw-r--r--
add link to "privacy policy" in the header test

/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 3.0.0b1
build: 1163
*/
YUI.add("io-xdr",function(C){var A="io:xdrReady";function B(E,F){var D='<object id="yuiIoSwf" type="application/x-shockwave-flash" data="'+E+'" width="0" height="0">'+'<param name="movie" value="'+E+'">'+'<param name="FlashVars" value="yid='+F+'">'+'<param name="allowScriptAccess" value="sameDomain">'+"</object>";C.get("body").appendChild(C.Node.create(D));}C.mix(C.io,{_transport:{},_fn:{},_xdr:function(D,E,F){if(F.on){this._fn[E.id]=F.on;}E.c.send(D,F,E.id);return E;},xdrReady:function(D){C.fire(A,D);},transport:function(D){switch(D.id){case"flash":B(D.src,D.yid);this._transport.flash=C.config.doc.getElementById("yuiIoSwf");break;}}});},"3.0.0b1",{requires:["io-base"]});