Browse Source

Fixed broken complete callback when invoked via jQuery .parse() method

The prior code checked the wrong location to pull in the user-defined
complete callback
pull/103/head
Dan Deming 10 years ago
parent
commit
05fd3cdaef
  1. 2
      papaparse.js

2
papaparse.js

@ -114,7 +114,7 @@ @@ -114,7 +114,7 @@
}
// Wrap up the user's complete callback, if any, so that ours also gets executed
var userCompleteFunc = f.instanceConfig.complete;
var userCompleteFunc = options.complete;
f.instanceConfig.complete = function(results)
{
if (isFunction(userCompleteFunc))

Loading…
Cancel
Save