From 828c3ae369cd8341daf3577bb4b2f250d2c0c980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 1 Aug 2011 16:21:00 +0100 Subject: [PATCH] Doc: Improve View#initialize(canvas). --- src/ui/View.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/View.js b/src/ui/View.js index 29c9c573..2bbdbdaf 100644 --- a/src/ui/View.js +++ b/src/ui/View.js @@ -26,7 +26,8 @@ var View = this.View = Base.extend(/** @lends View# */{ /** * Creates a view object - * @param {Canvas} canvas + * @param {HTMLCanvasElement|String} canvas The canvas object that this + * view should wrap, or the String id that represents it */ initialize: function(canvas) { // Associate this view with the active paper scope.