more liberally import csv

This commit is contained in:
Devin Howard 2016-10-01 11:21:42 +08:00
parent 4328a6205f
commit e093ca5a30

View file

@ -63,7 +63,8 @@ const PasteInput = {
Import.handleJSON(text) Import.handleJSON(text)
} else if (text.match(/\t/)) { } else if (text.match(/\t/)) {
Import.handleTSV(text) Import.handleTSV(text)
} else if (text.match(/","/)) { } else {
// just try to see if CSV works
Import.handleCSV(text) Import.handleCSV(text)
} }
}, },