No need to explicitely call Point#toString() in Segment#toString().

This commit is contained in:
Jürg Lehni 2011-03-03 13:03:57 +00:00
parent d4d6d652ec
commit 9a2462d147

View file

@ -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 : '')
+ ' }';
},