Просмотр исходного кода

This is in relation to #5112, adding pipe to table view of csvviewer (#5128)

* enhancement to add pipe delimiter in table view of csv

* Update toolbar.ts

* Adding pipe delimiter to table view of csvviewer
Aditya Sharma 6 лет назад
Родитель
Сommit
7ab941060e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/csvviewer/src/toolbar.ts

+ 2 - 2
packages/csvviewer/src/toolbar.ts

@@ -14,12 +14,12 @@ import { Styling } from '@jupyterlab/apputils';
 /**
  * The supported parsing delimiters.
  */
-const DELIMITERS = [',', ';', '\t'];
+const DELIMITERS = [',', ';', '\t', '|'];
 
 /**
  * The labels for each delimiter as they appear in the dropdown menu.
  */
-const LABELS = [',', ';', 'tab'];
+const LABELS = [',', ';', 'tab', 'pipe'];
 
 /**
  * The class name added to a csv toolbar widget.