mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Doc: Improve View#initialize(canvas).
This commit is contained in:
parent
9195f026d7
commit
828c3ae369
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@
|
||||||
var View = this.View = Base.extend(/** @lends View# */{
|
var View = this.View = Base.extend(/** @lends View# */{
|
||||||
/**
|
/**
|
||||||
* Creates a view object
|
* 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) {
|
initialize: function(canvas) {
|
||||||
// Associate this view with the active paper scope.
|
// Associate this view with the active paper scope.
|
||||||
|
|
Loading…
Reference in a new issue