3
Copyright 2012 Yahoo! Inc. All rights reserved.
4
Licensed under the BSD License.
5
http://yuilibrary.com/license/
7
YUI.add('file', function(Y) {
10
* The File class provides a wrapper for a file pointer, either through an HTML5
11
* implementation or as a reference to a file pointer stored in Flash. The File wrapper
12
* also implements the mechanics for uploading a file and tracking its progress.
19
* `Y.File` serves as an alias for either <a href="FileFlash.html">`Y.FileFlash`</a>
20
* or <a href="FileHTML5.html">`Y.FileHTML5`</a>, depending on the feature set available
21
* in a specific browser.
26
var Win = Y.config.win;
28
if (Win && Win.File && Win.FormData && Win.XMLHttpRequest) {
37
}, '3.5.1' ,{requires:['file-flash', 'file-html5']});