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 @@
<dfn>By default, empty lines are parsed; check to skip.</dfn> <dfn>By default, empty lines are parsed; check to skip.</dfn>
</label> </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>
<div class="grid-75 grid-parent"> <div class="grid-75 grid-parent">

11
docs/docs.html

@ -351,7 +351,6 @@ var csv = Papa.unparse({
error: undefined, error: undefined,
download: false, download: false,
skipEmptyLines: false, skipEmptyLines: false,
skipNoContentLines: false,
chunk: undefined, chunk: undefined,
fastMode: undefined, fastMode: undefined,
beforeFirstChunk: undefined, beforeFirstChunk: undefined,
@ -506,15 +505,7 @@ var csv = Papa.unparse({
<code>skipEmptyLines</code> <code>skipEmptyLines</code>
</td> </td>
<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. 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>
<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.
</td> </td>
</tr> </tr>
<tr> <tr>

1
docs/resources/js/demo.js

@ -191,7 +191,6 @@ function buildConfig()
header: $('#header').prop('checked'), header: $('#header').prop('checked'),
dynamicTyping: $('#dynamicTyping').prop('checked'), dynamicTyping: $('#dynamicTyping').prop('checked'),
skipEmptyLines: $('#skipEmptyLines').prop('checked'), skipEmptyLines: $('#skipEmptyLines').prop('checked'),
skipNoContentLines: $('#skipNoContentLines').prop('checked'),
preview: parseInt($('#preview').val() || 0), preview: parseInt($('#preview').val() || 0),
step: $('#stream').prop('checked') ? stepFn : undefined, step: $('#stream').prop('checked') ? stepFn : undefined,
encoding: $('#encoding').val(), encoding: $('#encoding').val(),

Loading…
Cancel
Save