mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
No need to explicitely call Point#toString() in Segment#toString().
This commit is contained in:
parent
d4d6d652ec
commit
9a2462d147
1 changed files with 3 additions and 3 deletions
|
@ -114,9 +114,9 @@ Segment = Base.extend({
|
|||
},
|
||||
|
||||
toString: function() {
|
||||
return '{ point: ' + this.point.toString()
|
||||
+ (this.handleIn ? ', handleIn '+ this.handleIn.toString() : '')
|
||||
+ (this.handleOut ? ', handleOut ' + this.handleOut.toString() : '')
|
||||
return '{ point: ' + this.point
|
||||
+ (this.handleIn ? ', handleIn '+ this.handleIn : '')
|
||||
+ (this.handleOut ? ', handleOut ' + this.handleOut : '')
|
||||
+ ' }';
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue