mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Fix Size#toString().
This commit is contained in:
parent
f545805786
commit
6e4334ee29
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ var Size = this.Size = Base.extend({
|
|||
|
||||
toString: function() {
|
||||
var format = Base.formatNumber;
|
||||
return '{ x: ' + format(this.width)
|
||||
+ ', y: ' + format(this.height) + ' }';
|
||||
return '{ width: ' + format(this.width)
|
||||
+ ', height: ' + format(this.height) + ' }';
|
||||
},
|
||||
|
||||
statics: {
|
||||
|
|
Loading…
Reference in a new issue