Clean up and separate PaperScript documetation from JavaScript related classes. Work in progress.

This commit is contained in:
Jürg Lehni 2011-07-25 00:25:23 +01:00
parent b6c684c1b4
commit 43cc8e45b2
5 changed files with 172 additions and 119 deletions
src/project

View file

@ -29,10 +29,10 @@
* SVG and PDF.
*
* The currently active project can be accessed through the global
* {@see _global_#project} variable.
* {@see PaperScope#project} variable.
*
* An array of all open projects is accessible through the global
* {@see _global_#projects} variable.
* {@see PaperScope#projects} variable.
*/
var Project = this.Project = Base.extend(/** @lends Project# */{
// TODO: Add arguments to define pages
@ -40,7 +40,7 @@ var Project = this.Project = Base.extend(/** @lends Project# */{
* Creates a Paper.js project.
*
* When working with PaperScript, a project is automatically created for us
* and the global {@see _global_#project} variable points to it.
* and the global {@see PaperScope#project} variable points to it.
*/
initialize: function() {
// Store reference to the currently active global paper scope:
@ -111,7 +111,7 @@ var Project = this.Project = Base.extend(/** @lends Project# */{
},
/**
* Removes this project from the global {@see _global_#projects} list.
* Removes this project from the global {@see PaperScope#projects} list.
*/
remove: function() {
if (this._scope) {