/yui3/src/test/scripts/ |
H A D | fix_docs.sh | 3 for file in ./js/*; do 4 echo "Parsing $file" 5 sed -e's/module yuitest/module test/g' $file > "$file.out" 6 mv "$file.out" $file 8 sed -e's/namespace YUITest/namespace Test/g' $file > "$file.out" 9 mv "$file.out" $file [all...] |
/yui3/src/file/js/ |
H A D | file-html5.js | 2 * The FileHTML5 class provides a wrapper for a file pointer in an HTML5 The File wrapper 3 * also implements the mechanics for uploading a file and tracking its progress. 4 * @module file-html5 8 * The class provides a wrapper for a file pointer. 20 var file = null; 23 file = o; 25 else if (FileHTML5.isValidFile(o.file)) { 26 file = o.file; 29 file [all...] |
/yui3/build/file-html5/ |
H A D | file-html5-debug.js | 1 YUI.add('file-html5', function(Y) { 4 * The FileHTML5 class provides a wrapper for a file pointer in an HTML5 The File wrapper 5 * also implements the mechanics for uploading a file and tracking its progress. 6 * @module file-html5 10 * The class provides a wrapper for a file pointer. 22 var file = null; 25 file = o; 27 else if (FileHTML5.isValidFile(o.file)) { 28 file = o.file; [all...] |
/yui3/src/yui/docs/partials/ |
H A D | loader-resolve-node.mustache | 18 //Resolve these file (passing true calculates the dependencies for you) 25 out.js.forEach(function(file) { 27 str.push(fs.readFileSync(file, 'utf8')); 30 //Write all the files out into a single file
|
/yui3/build/uploader-queue/ |
H A D | uploader-queue-debug.js | 70 updatedEvent.file = event.target; 86 updatedEvent.file = event.target; 111 * Launches the upload of the next file in the queue. 142 _registerUpload : function (file) { 144 this.currentFiles[file.get("id")] = file; 153 _unregisterUpload : function (file) { 157 delete this.currentFiles[file.get("id")]; 180 updatedEvent.file = event.target; 218 updatedEvent.file [all...] |
/yui3/src/uploader/js/ |
H A D | uploader-queue.js | 68 updatedEvent.file = event.target; 84 updatedEvent.file = event.target; 109 * Launches the upload of the next file in the queue. 140 _registerUpload : function (file) { 142 this.currentFiles[file.get("id")] = file; 151 _unregisterUpload : function (file) { 155 delete this.currentFiles[file.get("id")]; 178 updatedEvent.file = event.target; 216 updatedEvent.file [all...] |
H A D | uploader-html5.js | 3 * This module provides a UI for file selection and multiple file upload capability using 16 * This module provides a UI for file selection and multiple file upload capability using 32 * Stored reference to the instance of the file input field used to 33 * initiate the file selection dialog. 101 * Signals that an upload of a specific file has started. 107 * <dt>file</dt> 116 * Reports on upload progress of a specific file. 122 * <dt>file</d [all...] |
H A D | uploader-flash.js | 3 * This module provides a UI for file selection and multiple file upload capability using 6 * tracking, file filtering, server response retrieval and error reporting. 20 * This module provides a UI for file selection and multiple file upload capability 137 * Signals that an upload of a specific file has started. 143 * <dt>file</dt> 152 * Reports on upload progress of a specific file. 159 * <dd>The number of bytes of the file that has been uploaded</dd> 161 * <dd>The total number of bytes in the file</d [all...] |
/yui3/src/uploader/tests/manual/ |
H A D | uploader.js | 59 out.one("#" + ev.file.get("id")).setContent(ev.file.get("name") + " | " + ev.percentLoaded + "%"); 63 out.one("#" + ev.file.get("id")).setContent(ev.file.get("name") + " | " + "Finished!"); 64 out.one("#" + ev.file.get("id")).append("<p>DATA:<br> " + ev.data + "</p>");
|
H A D | html5uploader.js | 26 postVars.push({customvar: "file:" + value.get("name")}); 32 out.one("#" + ev.file.get("id")).setContent(ev.file.get("name") + " | " + ev.percentLoaded + "%"); 36 out.one("#" + ev.file.get("id")).append("<p>DATA:<br> " + ev.data + "</p>");
|
H A D | uploadqueue.js | 7 }).use('node', 'file', 'uploader-queue', function(Y) { 32 out.one("#" + ev.file.get("id")).setContent(ev.file.get("name") + " | " + ev.percentLoaded + "%"); 36 out.one("#" + ev.file.get("id")).append("<br><p>DATA:<br> " + ev.data + "</p><br>");
|
H A D | flashuploader.js | 45 out.one("#" + ev.file.get("id")).setContent(ev.file.get("name") + " | " + ev.percentLoaded + "%"); 49 out.one("#" + ev.file.get("id")).append("<p>DATA:<br> " + ev.data + "</p>");
|
H A D | file.js | 7 }).use('node', 'file', function(Y) { 11 var myfile = new Y.File({file: myfiles[0]});
|
/yui3/build/uploader-html5/ |
H A D | uploader-html5-debug.js | 5 * This module provides a UI for file selection and multiple file upload capability using 18 * This module provides a UI for file selection and multiple file upload capability using 34 * Stored reference to the instance of the file input field used to 35 * initiate the file selection dialog. 103 * Signals that an upload of a specific file has started. 109 * <dt>file</dt> 118 * Reports on upload progress of a specific file. 124 * <dt>file</d [all...] |
/yui3/build/uploader-flash/ |
H A D | uploader-flash-debug.js | 5 * This module provides a UI for file selection and multiple file upload capability using 8 * tracking, file filtering, server response retrieval and error reporting. 22 * This module provides a UI for file selection and multiple file upload capability 139 * Signals that an upload of a specific file has started. 145 * <dt>file</dt> 154 * Reports on upload progress of a specific file. 161 * <dd>The number of bytes of the file that has been uploaded</dd> 163 * <dd>The total number of bytes in the file</d [all...] |
/yui3/src/file/tests/manual/ |
H A D | file.js | 7 }).use('node', 'file', function(Y) { 11 var myfile = new Y.File({file: myfiles[0]});
|
/yui3/src/uploader/as/ |
H A D | Uploader.as | 34 * The base Uploader class for YUI's Flash-based file uploader. 104 * Sets the number of simultaneous file uploads possible. 126 * Sets a list of file type filters for the "Open File(s)" dialog. 159 * Sets a flag allowing multiple file selection in the "Browse" dialog. 161 * @param allowMultiple Whether to allow multiple file selection. 166 logMessage("Multiple file upload has been turned " + (allowMultiple ? "on." : "off.")); 171 * Triggers a prompt for the user to browse their file system to select 175 * one file 185 logMessage("Starting to browse for a single file...") 217 * Removes the file fro [all...] |
H A D | FlashUploader.as | 271 var file:File = this.fileList[fileID]; 273 this.log("Got the file with id " + file.fileId); 275 var fr:FileReference = file.fileReference; 278 this.filesInProgress[fileID] = file; 415 // Fired when the user selects a single file 453 * Adds a file reference object to the internal queue and assigns listeners to its events
|
/yui3/src/uploader-deprecated/as/ |
H A D | Uploader.as | 34 * The base Uploader class for YUI's Flash-based file uploader. 104 * Sets the number of simultaneous file uploads possible. 126 * Sets a list of file type filters for the "Open File(s)" dialog. 159 * Sets a flag allowing multiple file selection in the "Browse" dialog. 161 * @param allowMultiple Whether to allow multiple file selection. 166 logMessage("Multiple file upload has been turned " + (allowMultiple ? "on." : "off.")); 171 * Triggers a prompt for the user to browse their file system to select 175 * one file 185 logMessage("Starting to browse for a single file...") 217 * Removes the file fro [all...] |
/yui3/src/loader/scripts/ |
H A D | meta_join.py | 56 def readFile(path, file): 57 return codecs.open(os.path.join(path, file), "r", "utf-8").read() 196 # create the meta.js file from a template
|
H A D | meta_check.js | 42 parseFile = function(file) { 43 var data = fs.readFileSync(file, 'utf8').split('\n'), 156 extras.push(' ' + color('[' + str + ']') + ' data was not found in the JSON meta file'); 184 logs.push(' build file: ' + JSON.stringify(Object.keys(b1.use))); 193 logs.push(' build file: ' + JSON.stringify(Object.keys(b1.use))); 202 logs.push(' build file: ' + JSON.stringify(Object.keys(b1.requires))); 211 logs.push(' build file: ' + JSON.stringify(Object.keys(b1.requires)));
|
/yui3/src/get/tests/ |
H A D | get-test.js | 96 var file = o.url.match(FILENAME); 97 progress.push(file[0]); 299 var file = o.url.match(/[abc]\.js/); 300 progress.push(file[0]); 391 var file = o.url.match(/[abc]\.js/); 392 progress.push(file[0]); 485 var file = o.url.match(/[abc]\.js/); 486 progress.push(file[0]);
|
/yui3/src/loader/js/ |
H A D | loader.js | 34 _path = function(dir, file, type, nomin) { 35 var path = dir + '/' + file; 91 * @param {Function} config.onProgress Callback executed each time a script or css file is loaded 141 * Callback executed each time a script or css file is loaded 518 Regex that matches a CSS URL. Used to guess the file type when it's not 1021 // Add rollup file, need to add to supersedes list too 1038 // Add rollup file, need to add to supersedes list too 1439 * @param {String} name The name of the css file 2224 * Returns an Object hash of file arrays built from `loader.sorted` or from an arbitrary list of sorted modules. 2228 * @return {Object} Object hash (js and css) of two arrays of file list [all...] |
/yui3/build/loader/ |
H A D | loader-debug.js | 134 _path = function(dir, file, type, nomin) { 135 var path = dir + '/' + file; 191 * @param {Function} config.onProgress Callback executed each time a script or css file is loaded 241 * Callback executed each time a script or css file is loaded 618 Regex that matches a CSS URL. Used to guess the file type when it's not 1121 // Add rollup file, need to add to supersedes list too 1138 // Add rollup file, need to add to supersedes list too 1539 * @param {String} name The name of the css file 2324 * Returns an Object hash of file arrays built from `loader.sorted` or from an arbitrary list of sorted modules. 2328 * @return {Object} Object hash (js and css) of two arrays of file list [all...] |
/yui3/build/loader-base/ |
H A D | loader-base-debug.js | 134 _path = function(dir, file, type, nomin) { 135 var path = dir + '/' + file; 191 * @param {Function} config.onProgress Callback executed each time a script or css file is loaded 241 * Callback executed each time a script or css file is loaded 618 Regex that matches a CSS URL. Used to guess the file type when it's not 1121 // Add rollup file, need to add to supersedes list too 1138 // Add rollup file, need to add to supersedes list too 1539 * @param {String} name The name of the css file 2324 * Returns an Object hash of file arrays built from `loader.sorted` or from an arbitrary list of sorted modules. 2328 * @return {Object} Object hash (js and css) of two arrays of file list [all...] |