diff --git a/src/path/Curve.js b/src/path/Curve.js index bd5aecbe..5d326848 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -141,13 +141,13 @@ var Curve = this.Curve = Base.extend({ || this._path.closed && curves[curves.length - 1]) || null; }, - // TODO: port back to Scriptographer? + // TODO: Port back to Scriptographer setSelected: function(selected) { this.getHandle1().setSelected(selected); this.getHandle2().setSelected(selected); }, - // TODO: port back to Scriptographer? + // TODO: Port back to Scriptographer isSelected: function() { return this.getHandle1().isSelected() && this.getHandle2.isSelected(); }, diff --git a/src/path/Segment.js b/src/path/Segment.js index 096cb702..e292d770 100644 --- a/src/path/Segment.js +++ b/src/path/Segment.js @@ -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) { diff --git a/src/ui/Key.js b/src/ui/Key.js index c51cf8c2..22c9cdc8 100644 --- a/src/ui/Key.js +++ b/src/ui/Key.js @@ -50,12 +50,12 @@ var Key = new function() { // 'preventDefault: event.preventDefault' throws // an error in Safari when called, so we have to wrap // it into a function. - // TODO: port to Scriptographer. + // TODO: Port to Scriptographer: preventDefault: function() { event.preventDefault() } }); - // TODO: port to Scriptographer: + // TODO: Port to Scriptographer: // When the handler function returns false, prevent the // default behaviour of the key event: if (preventDefault === false)