From c1fcd6f3bb55112f630261adc0fcd006ffaf61fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 20 Jun 2011 14:27:54 +0100 Subject: [PATCH] Documentation: Convert more Array return types to Type[]. --- src/path/CompoundPath.js | 2 +- src/path/Path.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index 6fa23036..481f2cce 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -21,7 +21,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({ * Creates a new compound path item and places it in the active layer. * * @constructs CompoundPath - * @param {Array} [paths] the paths to place within the compound path. + * @param {Path[]} [paths] the paths to place within the compound path. * * @example {@paperscript} * // Create a circle shaped path with a hole in it: diff --git a/src/path/Path.js b/src/path/Path.js index f427c217..4eb3046f 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -500,7 +500,7 @@ var Path = this.Path = PathItem.extend({ * * @name Path#removeSegments * @function - * @return {Array} an array containing the removed segments + * @return {Segment[]} an array containing the removed segments */ /** * Removes the segments from the specified {@code from} index to the