mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Rename '// Todo' to '// TODO', which is the convention.
This commit is contained in:
parent
f431dcab5c
commit
9d2459d799
4 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue