Fix bug in Curve#getLocationOf().

This commit is contained in:
Jürg Lehni 2013-01-19 22:00:25 -08:00
parent 49c8f8b6b5
commit b05a21d6c9

View file

@ -293,7 +293,7 @@ var Curve = this.Curve = Base.extend(/** @lends Curve# */{
getLocationOf: function(point) {
var t = this.getParameterOf.apply(this, arguments);
return t != null ? CurveLocation(this, t) : null;
return t != null ? new CurveLocation(this, t) : null;
},
/**