From b891482bcec5095233ad043dfd99a91bf518d74c Mon Sep 17 00:00:00 2001 From: nickago Date: Wed, 8 Jul 2015 10:16:29 -0700 Subject: Add ALL the semicolons --- web/react/utils/utils.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/react/utils/utils.jsx') diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index ce803c2fb..36fb200e6 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -235,7 +235,7 @@ module.exports.extractLinks = function(text) { var links = [] for (var i = 0; i < matches.length; i++) { - links.push(matches[i].link) + links.push(matches[i].link); } return { "links": links, "text": text }; @@ -450,9 +450,9 @@ module.exports.textToJsx = function(text, options) { inner.push({prefix}@{name}{suffix} ); } else if (testUrlMatch(word).length) { var match = testUrlMatch(word)[0]; - var link = match.link + var link = match.link; - var prefix = word.substring(0,word.indexOf(match.text)) + var prefix = word.substring(0,word.indexOf(match.text)); var suffix = word.substring(word.indexOf(match.text)+match.text.length); inner.push({prefix}{match.text}{suffix} ); -- cgit v1.2.3-1-g7c22