mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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({
|
||||
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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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()) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue