We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 739bf0a + f4f21c9 commit 411344dCopy full SHA for 411344d
1 file changed
src/css/ValidationTypes.js
@@ -149,7 +149,7 @@ var ValidationTypes = {
149
},
150
151
"<glyph-angle>": function(part){
152
- return part.type == "angle" && part.units == 'deg';
+ return part.type === "angle" && part.units === 'deg';
153
154
155
"<uri>": function(part){
@@ -519,10 +519,10 @@ var ValidationTypes = {
519
identifiers[part]++;
520
found = identifiers[part];
521
}
522
- } while (found == 1 && expression.hasNext());
+ } while (found === 1 && expression.hasNext());
523
524
- result = found == 1 && !expression.hasNext();
525
- if (found === 0 && JSON.stringify(identifiers) == '{}') {
+ result = found === 1 && !expression.hasNext();
+ if (found === 0 && JSON.stringify(identifiers) === '{}') {
526
expression.previous();
527
528
return result;
0 commit comments