Rename '// Todo' to '// TODO', which is the convention.

This commit is contained in:
Jürg Lehni 2011-04-26 12:39:48 +01:00
parent f431dcab5c
commit 9d2459d799
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@
var Gradient = this.Gradient = Base.extend({ var Gradient = this.Gradient = Base.extend({
beans: true, beans: true,
// Todo: should type here be called 'radial' and have it // TODO: should type here be called 'radial' and have it
// receive a boolean value? // receive a boolean value?
initialize: function(stops, type) { initialize: function(stops, type) {
if(!stops) { if(!stops) {

View file

@ -129,7 +129,7 @@ var Document = this.Document = Base.extend({
if (this._selectedItemCount > 0) { if (this._selectedItemCount > 0) {
context.save(); context.save();
context.strokeWidth = 1; context.strokeWidth = 1;
// Todo: use Layer#color // TODO: use Layer#color
context.strokeStyle = context.fillStyle = '#4f7aff'; context.strokeStyle = context.fillStyle = '#4f7aff';
param = { selection: true }; param = { selection: true };
Base.each(this._selectedItems, function(item) { Base.each(this._selectedItems, function(item) {

View file

@ -218,7 +218,7 @@ var Path = this.Path = PathItem.extend({
return new CurveLocation(curve, t); return new CurveLocation(curve, t);
} }
} }
// Todo: is this the case for paper.js too? // TODO: is this the case for paper.js too?
// it may be that through impreciseness of getLength, that the end // it may be that through impreciseness of getLength, that the end
// of the curves was missed: // of the curves was missed:
if (length <= this.getLength()) { if (length <= this.getLength()) {

View file

@ -140,7 +140,7 @@ var Segment = this.Segment = Base.extend({
return false; return false;
}, },
// Todo: port setSelected(selected) back to Scriptographer // TODO: port setSelected(selected) back to Scriptographer
setSelected: function(/* pt, selected */) { setSelected: function(/* pt, selected */) {
var pt, selected; var pt, selected;
if (arguments.length == 2) { if (arguments.length == 2) {