Skip to content

Commit 34c4263

Browse files
committed
Make DimensionToken.toString() more compact
1 parent e72cb73 commit 34c4263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-css.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ class DimensionToken extends CSSParserToken {
732732
this.sign = sign;
733733
}
734734
toString() {
735-
return `DIM(${formatNumber(this.value, this.sign)}, ${JSON.stringify(this.unit)})`;
735+
return `DIM(${formatNumber(this.value, this.sign)},${JSON.stringify(this.unit)})`;
736736
}
737737
toJSON() { return {type:this.type, value:this.value, isInteger:this.isInteger, unit:this.unit, sign:this.sign}; }
738738
toSource() {

0 commit comments

Comments
 (0)