From 9a2462d14724cc691606d1e9d8c2a15f5ee80e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 3 Mar 2011 13:03:57 +0000 Subject: [PATCH] No need to explicitely call Point#toString() in Segment#toString(). --- src/path/Segment.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/path/Segment.js b/src/path/Segment.js index 8039c75e..867f322e 100644 --- a/src/path/Segment.js +++ b/src/path/Segment.js @@ -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 : '') + ' }'; },