Remove comment about pending port that has been backported to Scriptographer.

This commit is contained in:
Jürg Lehni 2011-04-27 12:36:04 +01:00
parent 9671ac6dbc
commit ae3ec6f2d7

View file

@ -131,13 +131,11 @@ var Curve = this.Curve = Base.extend({
getNext: function() {
// TODO: No need to call getCurves() here?
var curves = this._path && this._path._curves;
// TODO: Port cyclic looping when closed back to Scriptographer
return curves && (curves[this._index1 + 1]
|| this._path.closed && curves[0]) || null;
},
getPrevious: function() {
// TODO: No need to call getCurves() here?
var curves = this._path && this._path._curves;
return curves && (curves[this._index1 - 1]
|| this._path.closed && curves[curves.length - 1]) || null;