mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -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() {
|
toString: function() {
|
||||||
return '{ point: ' + this.point.toString()
|
return '{ point: ' + this.point
|
||||||
+ (this.handleIn ? ', handleIn '+ this.handleIn.toString() : '')
|
+ (this.handleIn ? ', handleIn '+ this.handleIn : '')
|
||||||
+ (this.handleOut ? ', handleOut ' + this.handleOut.toString() : '')
|
+ (this.handleOut ? ', handleOut ' + this.handleOut : '')
|
||||||
+ ' }';
|
+ ' }';
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue