Fixed leaky _handle2

This commit is contained in:
Ben Firshman 2012-11-20 15:53:31 +00:00
parent 73d6c102a6
commit 8ca26f650a

View file

@ -1691,8 +1691,8 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
}, },
cubicCurveTo: function(handle1, handle2, to) { cubicCurveTo: function(handle1, handle2, to) {
var _handle1 = Point.read(arguments); var _handle1 = Point.read(arguments),
_handle2 = Point.read(arguments); _handle2 = Point.read(arguments),
_to = Point.read(arguments); _to = Point.read(arguments);
// First modify the current segment: // First modify the current segment:
var current = getCurrentSegment(this); var current = getCurrentSegment(this);