Use Segment.read() correctly in Path#initialize().

This commit is contained in:
Jürg Lehni 2011-03-03 13:16:14 +00:00
parent 3a46ac3b54
commit c84df5a346

View file

@ -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));
},
/**