From cc06a6f1282cff3e84e3641fb3284b2cab8b6dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 27 Apr 2011 19:22:57 +0100 Subject: [PATCH] Remove CurveLocation#getPath() again as its functionality is provided by #getItem() already. --- src/path/CurveLocation.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/path/CurveLocation.js b/src/path/CurveLocation.js index 35ea43f4..186e4dea 100644 --- a/src/path/CurveLocation.js +++ b/src/path/CurveLocation.js @@ -54,9 +54,9 @@ CurveLocation = Base.extend({ }, /** - * The path on which the location is defined. + * The item this curve belongs to, if any. */ - getPath: function() { + getItem: function() { return this._curve && this._curve.getPath(); }, @@ -111,13 +111,6 @@ CurveLocation = Base.extend({ return this._point; }, - /** - * The item this curve belongs to, if any. - */ - getItem: function() { - return this._curve && this._curve.getPath(); - }, - toString: function() { var parts = []; if (this._point)