eslint?
This commit is contained in:
parent
5c01754df1
commit
05d62e615e
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ const PasteInput = {
|
|||
Import.handleJSON(text)
|
||||
} else if (text.match(/^[Tt]opics\t/) || text.match(/^[Ss]ynapses\t/)) {
|
||||
Import.handleTSV(text)
|
||||
} else if (text.match(/^[Tt]opics/) && text.match(/[\n,][Nn]ame[,\n]/)
|
||||
|| text.match(/^[Ss]ynapses/) && text.match(/[\n,][Tt]opic1[,\n]/)) {
|
||||
} else if ((text.match(/^[Tt]opics/) && text.match(/[\n,][Nn]ame[,\n]/)) ||
|
||||
(text.match(/^[Ss]ynapses/) && text.match(/[\n,][Tt]opic1[,\n]/))) {
|
||||
Import.handleCSV(text)
|
||||
} else {
|
||||
// Handle as plain text
|
||||
|
|
Loading…
Add table
Reference in a new issue