Fix comments.

This commit is contained in:
Jürg Lehni 2013-12-08 18:45:11 +01:00
parent fc4e88c039
commit c75d48cf98
2 changed files with 1 additions and 5 deletions

View file

@ -3318,9 +3318,6 @@ var Item = Base.extend(Callback, /** @lends Item# */{
}
},
// TODO: Implement View into the drawing.
// TODO: Optimize temporary canvas drawing to ignore parts that are
// outside of the visible view.
draw: function(ctx, param) {
if (!this._visible || this._opacity === 0)
return;

View file

@ -80,7 +80,6 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
/**
* Draws the view.
*
* @name View#draw
* @function
*/
draw: function(checkRedraw) {
@ -305,7 +304,7 @@ CanvasView.inject(new function() {
}
},
// DOCS: View#exportImage(path, callback);
// DOCS: CanvasView#exportImage(path, callback);
exportImage: function(path, callback) {
this.draw();
var out = fs.createWriteStream(path),