From b7fc219955bc124282725137e59a3ab8f98fd75b Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Thu, 9 Jan 2014 11:27:54 +0100 Subject: [PATCH] JSHint fixes --- lib/CSSValueExpression.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CSSValueExpression.js b/lib/CSSValueExpression.js index 489f2e2..3a6881d 100644 --- a/lib/CSSValueExpression.js +++ b/lib/CSSValueExpression.js @@ -137,14 +137,14 @@ CSSOM.CSSValueExpression.prototype._parseJSComment = function(token, idx) { var nextChar = token.charAt(idx + 1), text; - if (nextChar == '/' || nextChar == '*') { + if (nextChar === '/' || nextChar === '*') { var startIdx = idx, endIdx, commentEndChar; - if (nextChar == '/') { // line comment + if (nextChar === '/') { // line comment commentEndChar = '\n'; - } else if (nextChar == '*') { // block comment + } else if (nextChar === '*') { // block comment commentEndChar = '*/'; }