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)