[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 /* 2 YUI 3.17.2 (build 9c3c78e) 3 Copyright 2014 Yahoo! Inc. All rights reserved. 4 Licensed under the BSD License. 5 http://yuilibrary.com/license/ 6 */ 7 8 YUI.add('file', function (Y, NAME) { 9 10 /** 11 * The File class provides a wrapper for a file pointer, either through an HTML5 12 * implementation or as a reference to a file pointer stored in Flash. The File wrapper 13 * also implements the mechanics for uploading a file and tracking its progress. 14 * @module file 15 * @main file 16 * @since 3.5.0 17 */ 18 19 /** 20 * `Y.File` serves as an alias for either <a href="FileFlash.html">`Y.FileFlash`</a> 21 * or <a href="FileHTML5.html">`Y.FileHTML5`</a>, depending on the feature set available 22 * in a specific browser. 23 * 24 * @class File 25 */ 26 27 var Win = Y.config.win; 28 29 if (Win && Win.File && Win.FormData && Win.XMLHttpRequest) { 30 Y.File = Y.FileHTML5; 31 } 32 33 else { 34 Y.File = Y.FileFlash; 35 } 36 37 38 }, '3.17.2', {"requires": ["file-flash", "file-html5"]});
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |