瀏覽代碼

Merge pull request #7367 from dkapila/feature-csv-hash

Added hash to the csv delimiter types
Jason Grout 5 年之前
父節點
當前提交
b5f6178751
共有 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', 'pipe'];
+const LABELS = [',', ';', 'tab', 'pipe', 'hash'];
 
 /**
  * The class name added to a csv toolbar widget.