~bcsaller/juju-gui/update-reductions

« back to all changes in this revision

Viewing changes to lib/yui/build/file/file-debug.js

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
YUI 3.5.1 (build 22)
3
 
Copyright 2012 Yahoo! Inc. All rights reserved.
4
 
Licensed under the BSD License.
5
 
http://yuilibrary.com/license/
6
 
*/
7
 
YUI.add('file', function(Y) {
8
 
 
9
 
    /**
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.
13
 
     * @module file
14
 
     * @main file
15
 
     * @since 3.5.0
16
 
     */     
17
 
 
18
 
    /**
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.
22
 
     *
23
 
     * @class File
24
 
     */
25
 
 
26
 
 var Win = Y.config.win;
27
 
 
28
 
 if (Win && Win.File && Win.FormData && Win.XMLHttpRequest) {
29
 
    Y.File = Y.FileHTML5;
30
 
 }
31
 
 
32
 
 else {
33
 
    Y.File = Y.FileFlash;
34
 
 }
35
 
 
36
 
 
37
 
}, '3.5.1' ,{requires:['file-flash', 'file-html5']});