Skip to content

Commit bd7f58b

Browse files
committed
remove usless buttons
1 parent 9ebd88b commit bd7f58b

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

docs/csvToJsonDemo.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,7 @@ function updateOptions() {
9999
csvToJson.supportQuotedField(quotedFields);
100100
csvToJson.fieldDelimiter(delimiter);
101101
csvToJson.indexHeader(headerIndex);
102-
103-
if (parseSubarray) {
104-
csvToJson.parseSubArray('*', ',');
105-
}
106-
107-
if (mapRows) {
108-
// Add mapping function if needed
109-
}
102+
110103
}
111104

112105
function toggleChunkedOptions() {

docs/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,6 @@ <h1>CSV to JSON Converter</h1>
478478
<button class="sample-btn" data-sample="quoted">Quoted Fields</button>
479479
<button class="sample-btn" data-sample="numbers">Numbers</button>
480480
<button class="sample-btn" data-sample="dates">Dates</button>
481-
<button class="sample-btn" data-sample="subarray">Sub-Arrays</button>
482-
<button class="sample-btn" data-sample="mapping">Row Mapping</button>
483481
</div>
484482
</div>
485483
</div>

0 commit comments

Comments
 (0)