Browse Source

Merge pull request #37 from adamlc/master

Fixed issue when using with Ember.js
pull/41/head 2.0.8
Matt 11 years ago
parent
commit
31d7f92027
  1. 6
      jquery.parse.js
  2. 4
      jquery.parse.min.js
  3. 2
      parse.jquery.json

6
jquery.parse.js

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
/*
Papa Parse
v2.0.7
v2.0.8
https://github.com/mholt/jquery.parse
*/
@ -315,7 +315,7 @@ @@ -315,7 +315,7 @@
var delimiters = [",", "\t", "|", ";", recordSep, unitSep];
var bestDelim, bestDelta, fieldCountPrevRow;
for (var i in delimiters)
for (var i = 0; i < delimiters.length; i++)
{
var delim = delimiters[i];
var delta = 0, avgFieldCount = 0;
@ -327,7 +327,7 @@ @@ -327,7 +327,7 @@
preview: 10
}).parse(input);
for (var j in preview.results)
for (var j = 0; j < preview.results.length; j++)
{
var fieldCount = preview.results[j].length;
avgFieldCount += fieldCount;

4
jquery.parse.min.js vendored

File diff suppressed because one or more lines are too long

2
parse.jquery.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "parse",
"version": "2.0.7",
"version": "2.0.8",
"title": "Papa Parse",
"description": "Papa is a powerful CSV (delimited text) parser that streams large files and gracefully handles malformed input.",
"keywords": [

Loading…
Cancel
Save