From b42855b1caea1cfb406ac1e038a9149e5e08d2da Mon Sep 17 00:00:00 2001 From: jaymeans Date: Fri, 27 Jul 2018 16:27:36 -0700 Subject: [PATCH] updating docs and removing from demo --- docs/demo.html | 4 ---- docs/docs.html | 11 +---------- docs/resources/js/demo.js | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/demo.html b/docs/demo.html index c43b9a3..aa7cba9 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -90,10 +90,6 @@ By default, empty lines are parsed; check to skip. -
diff --git a/docs/docs.html b/docs/docs.html index ad8a61c..67c5b0b 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -351,7 +351,6 @@ var csv = Papa.unparse({ error: undefined, download: false, skipEmptyLines: false, - skipNoContentLines: false, chunk: undefined, fastMode: undefined, beforeFirstChunk: undefined, @@ -506,15 +505,7 @@ var csv = Papa.unparse({ skipEmptyLines - If true, lines that are completely empty will be skipped. An empty line is defined to be one which evaluates to empty string. - - - - - skipNoContentLines - - - If true, lines that don't have any content will be skipped. Lacking content is defined as having only delimiters, quotes, and whitespace. skipNoContentLines can be set alongside skipEmptyLines or instead of skipEmptyLines and retain the same functionality. + If true, lines that are completely empty (those which evaluate to an empty string) will be skipped. If set to 'strict', lines that don't have any content (those which have only delimiters, quotes, and whitespace) will also be skipped. diff --git a/docs/resources/js/demo.js b/docs/resources/js/demo.js index 35289a8..a59be3c 100644 --- a/docs/resources/js/demo.js +++ b/docs/resources/js/demo.js @@ -191,7 +191,6 @@ function buildConfig() header: $('#header').prop('checked'), dynamicTyping: $('#dynamicTyping').prop('checked'), skipEmptyLines: $('#skipEmptyLines').prop('checked'), - skipNoContentLines: $('#skipNoContentLines').prop('checked'), preview: parseInt($('#preview').val() || 0), step: $('#stream').prop('checked') ? stepFn : undefined, encoding: $('#encoding').val(),