Minor syntax fixes.

This commit is contained in:
Jürg Lehni 2013-05-05 23:19:22 -07:00
parent 3a7547a255
commit d70c9b0464
2 changed files with 2 additions and 2 deletions

View file

@ -2104,7 +2104,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
// and (through, to), and intersect them to get the center
var l1 = new Line(from.add(through).divide(2),
through.subtract(from).rotate(90)),
l2 = new Line(through.add(to).divide(2),
l2 = new Line(through.add(to).divide(2),
to.subtract(through).rotate(90)),
center = l1.intersect(l2),
line = new Line(from, to, true),

View file

@ -175,7 +175,7 @@ var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
break;
}
}
},
}
/**
* Smooth bezier curves without changing the amount of segments or their