Skip to content

Commit 5672d6f

Browse files
committed
Add the unit into Dimension's .repr
1 parent cfd5904 commit 5672d6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokenizer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ DimensionToken.prototype.append = function(val) {
629629
}
630630
DimensionToken.prototype.finish = function() {
631631
this.unit = stringFromCodeArray(this.unit);
632+
this.repr += this.unit;
632633
return this;
633634
}
634635

0 commit comments

Comments
 (0)