Ticket #2528934 (closed defect)

Reporter


Levan
Opened: 06/1/10
Last modified: 09/7/10
Status: closed
Type: defect
Resolution: fixed

Owner


Satyen Desai
Target Release: 3.2.0
Priority: P3 (normal)
Summary: Base.create JSdoc is missing two parameters px and ax
Description:

doc says:
Base.create
static Function Base.create ( name , main , extensions )

....
Prototype properties or methods can be added to the new class, using the px argument (similar to Y.extend).

Static properties or methods can be added to the new class, using the sx argument (similar to Y.extend).

Parameters:
name <Function> The name of the newly created class. Used to defined the NAME property for the new class.
main <Function> The base class which the new class should extend. This class needs to be Base or a class derived from base (e.g. Widget).
extensions <Function[]> The list of extensions which will be mixed into the built class.

actual signature is:

Base.create = function(name, base, extensions, px, sx)

Type: defect Observed in Version: 3.1.1
Component: Base Severity: S3 (normal)
Assigned To: Satyen Desai Target Release: 3.2.0
Location: API Documentation Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL: http://developer.yahoo.com/yui/3/api/Base.html#method_Base.create
Test Information:

Change History

George

YUI Developer

Posted: 06/1/10
  • component changed from Documentation/Web Site to Base
  • location changed to API Documentation
  • owner changed from George to Satyen Desai
  • priority changed to P3 (normal)
  • status changed from new to assigned

Satyen Desai

YUI Developer

Posted: 06/1/10
  • status changed from assigned to checkedin

Satyen Desai

YUI Developer

Posted: 06/1/10

commit af716e785a91e92d5cfa85d40fdd10a30f94751f
Author: Satyen Desai sdesai@yahoo-inc.com
Date: Tue May 25 15:53:45 2010 -0700

Fixed argument docs for Base.create. Deprecated Base.build in favor of the easier to use Base.create and Base.mix

George

YUI Developer

Posted: 09/7/10
  • milestone changed to 3.2.0

George

YUI Developer

Posted: 09/7/10
  • resolution changed to fixed

George

YUI Developer

Posted: 09/7/10
  • status changed from checkedin to closed