Skip to content
nene edited this page Mar 21, 2012 · 4 revisions

Synopsis:

@deprecated
Some description...

@deprecated 2.0 Some description...

Documents a class or member that is supported for backwards compatibility and may be removed in future versions.

The @deprecated tag may be optionally followed by a version number denoting since when the item is deprecated.

Example:

/**
 * @member Ext
 * @method filter
 * Filters array using a predicate function.
 * @deprecated 4.0 Use {@link Ext.Array#filter} instead.
 */
Ext.filter = Ext.Array.filter;

For completely removed items see: @removed

Clone this wiki locally