From c84df5a346a610a3d18c4c23b8bc84b81df6e466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 3 Mar 2011 13:16:14 +0000 Subject: [PATCH] Use Segment.read() correctly in Path#initialize(). --- src/path/Path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Path.js b/src/path/Path.js index 6917b0be..f7c673c1 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -13,7 +13,7 @@ Path = PathItem.extend({ || typeof segments[0] != 'object') segments = arguments; for (var i = 0, l = segments.length; i < l; i++) - this._add(Segment.read(segments[i])); + this._add(Segment.read(segments, i, 1)); }, /**