From 05d62e615e620dd611f1de82730048e133f4224f Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 9 Sep 2017 09:30:20 -0700 Subject: [PATCH] eslint? --- frontend/src/Metamaps/PasteInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Metamaps/PasteInput.js b/frontend/src/Metamaps/PasteInput.js index 019165f7..dc76ed3b 100644 --- a/frontend/src/Metamaps/PasteInput.js +++ b/frontend/src/Metamaps/PasteInput.js @@ -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