Fix documentation issues in TextItem.

This commit is contained in:
Jürg Lehni 2013-12-10 23:03:10 +01:00
parent 9501fd1924
commit cf2c1ca04b

View file

@ -103,7 +103,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
* *
* The font-family to be used in text content. * The font-family to be used in text content.
* *
* @name Style#fontFamily * @name TextItem#fontFamily
* @default 'sans-serif' * @default 'sans-serif'
* @type String * @type String
*/ */
@ -112,7 +112,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
* *
* The font-weight to be used in text content. * The font-weight to be used in text content.
* *
* @name Style#fontWeight * @name TextItem#fontWeight
* @default 'normal' * @default 'normal'
* @type String|Number * @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} * The font size of text content, as {@Number} in pixels, or as {@String}
* with optional units {@code 'px'}, {@code 'pt'} and {@code 'em'}. * with optional units {@code 'px'}, {@code 'pt'} and {@code 'em'}.
* *
* @name Style#fontSize * @name TextItem#fontSize
* @default 10 * @default 10
* @type Number|String * @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}. * The font-family to be used in text content, as one {@String}.
* @deprecated use {@link #fontFamily} instead. * @deprecated use {@link #fontFamily} instead.
* *
* @name Style#font * @name TextItem#font
* @default 'sans-serif' * @default 'sans-serif'
* @type String * @type String
*/ */
@ -139,7 +139,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
/** /**
* The text leading of text content. * The text leading of text content.
* *
* @name Style#leading * @name TextItem#leading
* @default fontSize * 1.2 * @default fontSize * 1.2
* @type Number|String * @type Number|String
*/ */
@ -149,7 +149,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
* *
* The justification of text paragraphs. * The justification of text paragraphs.
* *
* @name Style#justification * @name TextItem#justification
* @default 'left' * @default 'left'
* @type String('left', 'right', 'center') * @type String('left', 'right', 'center')
*/ */