Browse Source

Fix bug in guessDelimiter()

While looping through the set of delimiters fieldCountPrevRow wasn't reseted. That led to some problems because fieldCountPrevRow was handed over between the runs.
pull/57/head
Eugen Geisler 11 years ago
parent
commit
6ea06d4a6f
  1. 1
      jquery.parse.js

1
jquery.parse.js

@ -325,6 +325,7 @@ @@ -325,6 +325,7 @@
{
var delim = delimiters[i];
var delta = 0, avgFieldCount = 0;
var fieldCountPrevRow = undefined;
var preview = new Parser({
delimiter: delim,

Loading…
Cancel
Save