Skip to content

Commit b7fc219

Browse files
committed
JSHint fixes
1 parent 3506021 commit b7fc219

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/CSSValueExpression.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ CSSOM.CSSValueExpression.prototype._parseJSComment = function(token, idx) {
137137
var nextChar = token.charAt(idx + 1),
138138
text;
139139

140-
if (nextChar == '/' || nextChar == '*') {
140+
if (nextChar === '/' || nextChar === '*') {
141141
var startIdx = idx,
142142
endIdx,
143143
commentEndChar;
144144

145-
if (nextChar == '/') { // line comment
145+
if (nextChar === '/') { // line comment
146146
commentEndChar = '\n';
147-
} else if (nextChar == '*') { // block comment
147+
} else if (nextChar === '*') { // block comment
148148
commentEndChar = '*/';
149149
}
150150

0 commit comments

Comments
 (0)