Browse Source

updating docs and removing from demo

pull/544/head
jaymeans 7 years ago
parent
commit
b42855b1ca
  1. 4
      docs/demo.html
  2. 11
      docs/docs.html
  3. 1
      docs/resources/js/demo.js

4
docs/demo.html

@ -90,10 +90,6 @@ @@ -90,10 +90,6 @@
<dfn>By default, empty lines are parsed; check to skip.</dfn>
</label>
<label>
<input type="checkbox" id="skipNoContentLines"> Skip lines without content
<dfn>By default, lines that only have delimiters, quotes, and whitespace are still parsed; check to skip.</dfn>
</label>
</div>
<div class="grid-75 grid-parent">

11
docs/docs.html

@ -351,7 +351,6 @@ var csv = Papa.unparse({ @@ -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({ @@ -506,15 +505,7 @@ var csv = Papa.unparse({
<code>skipEmptyLines</code>
</td>
<td>
If true, lines that are completely empty will be skipped. An empty line is defined to be one which evaluates to empty string.
</td>
</tr>
<tr>
<td>
<code>skipNoContentLines</code>
</td>
<td>
If true, lines that don't have any content will be skipped. Lacking content is defined as having only delimiters, quotes, and whitespace. <code>skipNoContentLines</code> can be set alongside <code>skipEmptyLines</code> or instead of <code>skipEmptyLines</code> 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 <code>'strict'</code>, lines that don't have any content (those which have only delimiters, quotes, and whitespace) will also be skipped.
</td>
</tr>
<tr>

1
docs/resources/js/demo.js

@ -191,7 +191,6 @@ function buildConfig() @@ -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(),

Loading…
Cancel
Save