pass existing data to info parsers
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
6372ae3a98
commit
91066954a8
|
@ -390,7 +390,7 @@
|
|||
|
||||
// extend the parsed data using the custom parsers
|
||||
_.each(this._fileInfoParsers, function(parserFunction) {
|
||||
_.extend(data, parserFunction(response) || {});
|
||||
_.extend(data, parserFunction(response, data) || {});
|
||||
});
|
||||
|
||||
return new FileInfo(data);
|
||||
|
|
Loading…
Reference in New Issue