diff -r d334a616c023 -r e16a97fb364a src/cm/media/js/lib/yui/yui3-3.15.0/build/io-upload-iframe/io-upload-iframe-debug.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3-3.15.0/build/io-upload-iframe/io-upload-iframe-debug.js Mon Mar 10 15:19:48 2014 +0100 @@ -0,0 +1,313 @@ +YUI.add('io-upload-iframe', function (Y, NAME) { + +/** +Extends the IO to enable file uploads, with HTML forms +using an iframe as the transport medium. +@module io +@submodule io-upload-iframe +@for IO +**/ + +var w = Y.config.win, + d = Y.config.doc, + _std = (d.documentMode && d.documentMode >= 8), + _d = decodeURIComponent, + _end = Y.IO.prototype.end; + +/** + * Creates the iframe transported used in file upload + * transactions, and binds the response event handler. + * + * @method _cFrame + * @private + * @param {Object} o Transaction object generated by _create(). + * @param {Object} c Configuration object passed to YUI.io(). + * @param {Object} io + */ +function _cFrame(o, c, io) { + var i = Y.Node.create('