* 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)
| 1208 | * @param {String} cb Callback - the actual routine that every added file must pass |
| 1209 | */ |
| 1210 | function addFileFilter(name, cb) { |
| 1211 | fileFilters[name] = cb; |
| 1212 | } |
| 1213 | |
| 1214 | |
| 1215 | /** |