mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Improve PaperScope documentation.
This commit is contained in:
parent
d90e0ec07e
commit
08bbff790d
1 changed files with 8 additions and 3 deletions
|
@ -28,15 +28,15 @@ var PaperScope = this.PaperScope = Base.extend({
|
|||
|
||||
initialize: function(id) {
|
||||
/** @lends _global_# */
|
||||
|
||||
|
||||
/**
|
||||
* The global active project.
|
||||
* The currently active project.
|
||||
* @type Project
|
||||
*/
|
||||
this.project = null;
|
||||
|
||||
/**
|
||||
* The global projects array.
|
||||
* The list of all open projects within the current Paper.js context.
|
||||
* @type Project[]
|
||||
*/
|
||||
this.projects = [];
|
||||
|
@ -46,6 +46,11 @@ var PaperScope = this.PaperScope = Base.extend({
|
|||
* @type View
|
||||
*/
|
||||
this.view = null;
|
||||
|
||||
/**
|
||||
* The active view of the active project.
|
||||
* @type View
|
||||
*/
|
||||
this.views = [];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue