From cc8b23894c36774844d292a7c1d3ba64f69561dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 27 Sep 2014 22:03:54 +0200 Subject: [PATCH] Some clean up related to hidden _uncached parameter. --- src/path/CurveLocation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path/CurveLocation.js b/src/path/CurveLocation.js index 1818b5b8..20067745 100644 --- a/src/path/CurveLocation.js +++ b/src/path/CurveLocation.js @@ -186,7 +186,7 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{ */ getParameter: function(_uncached) { if ((this._parameter == null || _uncached) && this._point) { - var curve = this.getCurve(_uncached && this._point); + var curve = this.getCurve(_uncached); this._parameter = curve && curve.getParameterOf(this._point); } return this._parameter; @@ -201,7 +201,7 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{ */ getPoint: function(_uncached) { if ((!this._point || _uncached) && this._parameter != null) { - var curve = this.getCurve(); + var curve = this.getCurve(_uncached); this._point = curve && curve.getPointAt(this._parameter, true); } return this._point;