mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-15 17:29:52 -04:00
Fix links and typos.
This commit is contained in:
parent
f5ee4a1ff7
commit
e197f94669
1 changed files with 8 additions and 8 deletions
|
@ -17,7 +17,7 @@
|
||||||
/**
|
/**
|
||||||
* @name Project
|
* @name Project
|
||||||
*
|
*
|
||||||
* @class A Project object in Paper.js is what usually is refered to as the
|
* @class A Project object in Paper.js is what usually is referred to as the
|
||||||
* document: The top level object that holds all the items contained in the
|
* document: The top level object that holds all the items contained in the
|
||||||
* scene graph. As the term document is already taken in the browser context,
|
* scene graph. As the term document is already taken in the browser context,
|
||||||
* it is called Project.
|
* it is called Project.
|
||||||
|
@ -28,11 +28,11 @@
|
||||||
* requirements, and means to persist and load from different formats, such as
|
* requirements, and means to persist and load from different formats, such as
|
||||||
* SVG and PDF.
|
* SVG and PDF.
|
||||||
*
|
*
|
||||||
* The currently active project can be accessed through the global
|
* The currently active project can be accessed through the
|
||||||
* {@see PaperScope#project} variable.
|
* {@link PaperScope#project} variable.
|
||||||
*
|
*
|
||||||
* An array of all open projects is accessible through the global
|
* An array of all open projects is accessible through the
|
||||||
* {@see PaperScope#projects} variable.
|
* {@link PaperScope#projects} variable.
|
||||||
*/
|
*/
|
||||||
var Project = this.Project = Base.extend(/** @lends Project# */{
|
var Project = this.Project = Base.extend(/** @lends Project# */{
|
||||||
// TODO: Add arguments to define pages
|
// TODO: Add arguments to define pages
|
||||||
|
@ -40,7 +40,7 @@ var Project = this.Project = Base.extend(/** @lends Project# */{
|
||||||
* Creates a Paper.js project.
|
* Creates a Paper.js project.
|
||||||
*
|
*
|
||||||
* When working with PaperScript, a project is automatically created for us
|
* When working with PaperScript, a project is automatically created for us
|
||||||
* and the global {@see PaperScope#project} variable points to it.
|
* and the {@link PaperScope#project} variable points to it.
|
||||||
*/
|
*/
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
// Store reference to the currently active global paper scope:
|
// 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 PaperScope#projects} list.
|
* Removes this project from the {@link PaperScope#projects} list.
|
||||||
*/
|
*/
|
||||||
remove: function() {
|
remove: function() {
|
||||||
if (this._scope) {
|
if (this._scope) {
|
||||||
|
@ -126,7 +126,7 @@ var Project = this.Project = Base.extend(/** @lends Project# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The index of the project in the global projects array.
|
* The index of the project in the {@link PaperScope#projects} list.
|
||||||
*
|
*
|
||||||
* @type Number
|
* @type Number
|
||||||
* @bean
|
* @bean
|
||||||
|
|
Loading…
Reference in a new issue