Searched refs:file (Results 1 - 25 of 27) sorted by relevance

12

/yui3/src/test/scripts/
H A Dfix_docs.sh3 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 Dfile-html5.js2 * 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 Dfile-html5-debug.js1 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 Dloader-resolve-node.mustache18 //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 Duploader-queue-debug.js70 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 Duploader-queue.js68 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 Duploader-html5.js3 * 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 Duploader-flash.js3 * 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 Duploader.js59 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 Dhtml5uploader.js26 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 Duploadqueue.js7 }).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 Dflashuploader.js45 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 Dfile.js7 }).use('node', 'file', function(Y) {
11 var myfile = new Y.File({file: myfiles[0]});
/yui3/build/uploader-html5/
H A Duploader-html5-debug.js5 * 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 Duploader-flash-debug.js5 * 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 Dfile.js7 }).use('node', 'file', function(Y) {
11 var myfile = new Y.File({file: myfiles[0]});
/yui3/src/uploader/as/
H A DUploader.as34 * 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 DFlashUploader.as271 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 DUploader.as34 * 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 Dmeta_join.py56 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 Dmeta_check.js42 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 Dget-test.js96 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 Dloader.js34 _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 Dloader-debug.js134 _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 Dloader-base-debug.js134 _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...]

Completed in 75 milliseconds

12