From c75d48cf98bdac5698cccb3ff6cdfacc14134dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 8 Dec 2013 18:45:11 +0100 Subject: [PATCH] Fix comments. --- src/item/Item.js | 3 --- src/ui/CanvasView.js | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index f43a991b..07e1cd22 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -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; diff --git a/src/ui/CanvasView.js b/src/ui/CanvasView.js index 6bba5133..ae7326ae 100644 --- a/src/ui/CanvasView.js +++ b/src/ui/CanvasView.js @@ -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),