Browse Source

Merge pull request #301 from AstroAndyN/patch-1

Fix for complete(res, file) in parse(file, ...)
pull/201/merge
Matt Holt 9 years ago
parent
commit
0db1928803
  1. 2
      papaparse.js

2
papaparse.js

@ -455,7 +455,7 @@
} }
if (finishedIncludingPreview && isFunction(this._config.complete) && (!results || !results.meta.aborted)) if (finishedIncludingPreview && isFunction(this._config.complete) && (!results || !results.meta.aborted))
this._config.complete(this._completeResults); this._config.complete(this._completeResults, this._input);
if (!finishedIncludingPreview && (!results || !results.meta.paused)) if (!finishedIncludingPreview && (!results || !results.meta.paused))
this._nextChunk(); this._nextChunk();

Loading…
Cancel
Save