mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Remove comment about pending port that has been backported to Scriptographer.
This commit is contained in:
parent
9671ac6dbc
commit
ae3ec6f2d7
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue