diff --git a/src/color/Color.js b/src/color/Color.js index 96400f7d..7cb5931f 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -106,11 +106,11 @@ var Color = this.Color = Base.extend(new function() { Base.each(this._components, function(name, i) { var value = components[i]; - // TODO: should we call the setter? + // TODO: Should we call the setter? // this['set' + name.capitalize()] this[name] = value !== undefined ? value - // TODO: is this correct? + // TODO: Is this correct? // Shouldn't alpha be set to -1? : name == 'alpha' ? 1 : null; }, this); diff --git a/src/document/Document.js b/src/document/Document.js index dea691d9..190b6d23 100644 --- a/src/document/Document.js +++ b/src/document/Document.js @@ -87,6 +87,8 @@ var Document = this.Document = Base.extend({ var ctx = this.context; ctx.save(); + // TODO: Remove dirty rectangle test code once it's actually + // implemented. var testDirtyRects = false; if (testDirtyRects) { var left = this.size.width / 8, diff --git a/src/path/Path.js b/src/path/Path.js index fbae8d97..ad9e4c6a 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -50,8 +50,7 @@ var Path = this.Path = PathItem.extend({ return curves; }, - // TODO: Add back to Scriptographer: - + // TODO: Port back to Scriptographer: getFirstSegment: function() { return this._segments[0]; }, @@ -204,7 +203,7 @@ var Path = this.Path = PathItem.extend({ return false; }, - // todo: getLocation(point, precision) + // TODO: getLocation(point, precision) getLocation: function(length) { var curves = this.getCurves(), currentLength = 0;