MCPcopy
hub / github.com/moxiecode/plupload / addFileFilter

Function addFileFilter

js/plupload.dev.js:4283–4285  ·  view source on GitHub ↗

* Registers a filter that will be executed for each file added to the queue. * If callback returns false, file will not be added. * * Callback receives two arguments: a value for the filter as it was specified in settings.filters * and a file to be filtered. Callback is executed in the conte

(name, cb)

Source from the content-addressed store, hash-verified

4281 * @param {String} cb Callback - the actual routine that every added file must pass
4282 */
4283 function addFileFilter(name, cb) {
4284 fileFilters[name] = cb;
4285 }
4286
4287
4288 /**

Callers 1

plupload.dev.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected