From 8ab56a7ebd7b6bace17f9f0480003ededad52f9a Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 26 May 2011 00:57:58 +0200 Subject: [PATCH] Some edits to Project documentation. --- src/project/Project.js | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/src/project/Project.js b/src/project/Project.js index 86e5f748..70da0c98 100644 --- a/src/project/Project.js +++ b/src/project/Project.js @@ -146,29 +146,14 @@ var Project = this.Project = Base.extend({ /** * {@grouptitle Project Hierarchy} * - * The layers contained within the document. - * - * @example - * // When you create a new Document it always contains - * // a layer called 'Layer 1' - * console.log(document.layers); // Layer (Layer 1) - * - * // Create a new layer called 'test' in the document - * var newLayer = new Layer(); - * newLayer.name = 'test'; - * - * console.log(document.layers); // Layer (test), Layer (Layer 1) - * console.log(document.layers[0]); // Layer (test) - * console.log(document.layers.test); // Layer (test) - * console.log(document.layers['Layer 1']); // Layer (Layer 1) + * The layers contained within the project. * * @name Project#layers * @type array */ /** - * The layer which is currently active. The active layer is indicated in the - * Layers palette by a black triangle. New items will be created on this + * The layer which is currently active. New items will be created on this * layer by default. * * @name Project#activeLayer @@ -176,7 +161,7 @@ var Project = this.Project = Base.extend({ */ /** - * The symbols contained within the document. + * The symbols contained within the project. * * @name Project#symbols * @type array