uploader-debug.js revision 5ea4ee9d2ec59b568afec78f52e036181df216b6
YUI.add('uploader', function(Y) {
/**
* Provides UI for selecting multiple files and functionality for
* uploading multiple files to the server with support for either
* html5 or Flash transport mechanisms, automatic queue management,
* upload progress monitoring, and error events.
* @module uploader
* @main uploader
* @since 3.5.0
*/
var Win = Y.config.win;
if (Win && Win.File && Win.FormData && Win.XMLHttpRequest) {
Y.Uploader = Y.UploaderHTML5;
}
else if (Y.SWFDetect.isFlashVersionAtLeast(10,0,45)) {
Y.Uploader = Y.UploaderFlash;
}
else {
Y.namespace("Uploader");
Y.Uploader.TYPE = "none";
}
}, '@VERSION@' ,{requires:['uploader-flash', 'uploader-html5']});