Remove CurveLocation#getPath() again as its functionality is provided by #getItem() already.

This commit is contained in:
Jürg Lehni 2011-04-27 19:22:57 +01:00
parent ebc9bc88c4
commit cc06a6f128

View file

@ -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(); return this._curve && this._curve.getPath();
}, },
@ -111,13 +111,6 @@ CurveLocation = Base.extend({
return this._point; return this._point;
}, },
/**
* The item this curve belongs to, if any.
*/
getItem: function() {
return this._curve && this._curve.getPath();
},
toString: function() { toString: function() {
var parts = []; var parts = [];
if (this._point) if (this._point)