| Server IP : 104.21.80.248 / Your IP : 162.159.115.41 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/myschool/triamudom/tuprblearn/lib/yuilib/3.17.2/file/ |
Upload File : |
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('file', function (Y, NAME) {
/**
* The File class provides a wrapper for a file pointer, either through an HTML5
* implementation or as a reference to a file pointer stored in Flash. The File wrapper
* also implements the mechanics for uploading a file and tracking its progress.
* @module file
* @main file
* @since 3.5.0
*/
/**
* `Y.File` serves as an alias for either <a href="FileFlash.html">`Y.FileFlash`</a>
* or <a href="FileHTML5.html">`Y.FileHTML5`</a>, depending on the feature set available
* in a specific browser.
*
* @class File
*/
var Win = Y.config.win;
if (Win && Win.File && Win.FormData && Win.XMLHttpRequest) {
Y.File = Y.FileHTML5;
}
else {
Y.File = Y.FileFlash;
}
}, '3.17.2', {"requires": ["file-flash", "file-html5"]});