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({
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?
initialize: function(stops, type) {
if(!stops) {

View file

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

View file

@ -218,7 +218,7 @@ var Path = this.Path = PathItem.extend({
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
// of the curves was missed:
if (length <= this.getLength()) {

View file

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