Browse Source

updating demo

pull/544/head
jaymeans 7 years ago committed by jaymeans
parent
commit
aca25e499e
  1. 5
      docs/demo.html
  2. 1
      docs/resources/js/demo.js

5
docs/demo.html

@ -89,6 +89,11 @@
<input type="checkbox" id="skipEmptyLines"> Skip empty lines <input type="checkbox" id="skipEmptyLines"> Skip empty lines
<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">

1
docs/resources/js/demo.js

@ -191,6 +191,7 @@ 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