From cf2c1ca04beb37bd334d3d2a1628ea56ed9fcd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 10 Dec 2013 23:03:10 +0100 Subject: [PATCH] Fix documentation issues in TextItem. --- src/text/TextItem.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/text/TextItem.js b/src/text/TextItem.js index ff674d21..35cd6efa 100644 --- a/src/text/TextItem.js +++ b/src/text/TextItem.js @@ -103,7 +103,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{ * * The font-family to be used in text content. * - * @name Style#fontFamily + * @name TextItem#fontFamily * @default 'sans-serif' * @type String */ @@ -112,7 +112,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{ * * The font-weight to be used in text content. * - * @name Style#fontWeight + * @name TextItem#fontWeight * @default 'normal' * @type String|Number */ @@ -121,7 +121,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{ * The font size of text content, as {@Number} in pixels, or as {@String} * with optional units {@code 'px'}, {@code 'pt'} and {@code 'em'}. * - * @name Style#fontSize + * @name TextItem#fontSize * @default 10 * @type Number|String */ @@ -131,7 +131,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{ * The font-family to be used in text content, as one {@String}. * @deprecated use {@link #fontFamily} instead. * - * @name Style#font + * @name TextItem#font * @default 'sans-serif' * @type String */ @@ -139,7 +139,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{ /** * The text leading of text content. * - * @name Style#leading + * @name TextItem#leading * @default fontSize * 1.2 * @type Number|String */ @@ -149,7 +149,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{ * * The justification of text paragraphs. * - * @name Style#justification + * @name TextItem#justification * @default 'left' * @type String('left', 'right', 'center') */