Add comments.

This commit is contained in:
Jürg Lehni 2011-06-05 23:14:36 +01:00
parent 2fe21586df
commit 046f9cef6e

View file

@ -22,6 +22,7 @@ var PathFitter = Base.extend({
this.points = [];
var segments = path._segments,
prev;
// Copy over points from path and filter out adjacent duplicates.
for (var i = 0, l = segments.length; i < l; i++) {
var point = segments[i].point.clone();
if (!prev || !prev.equals(point)) {