Re: [Jsdoc-user] fix for objects that are extended with this.base member
Status: Inactive
Brought to you by:
mmathews
|
From: Gabriel R. <gab...@gm...> - 2005-09-01 05:36:37
|
On Wed, Aug 31, 2005 at 06:55:22PM -0700, Justin Early wrote:
> I have a fix for JSdocs that will create the hierarchy if you use the base
> object.
> added this to the fetch_funcs_and_classes function
> elsif ($cname2 && $propname1=~ /base/ && defined($propval1)) {
> #base property correction
> &set_base_class($cname2, $propval1);
> }
> Attached is the updated pm. This was based off of the
> 1.9.5.6<http://1.9.5.6>version. This is a pretty big improvement
> because developers do not need to
> add @extends to every js file object. If they change the code then the docs
> change automatically.
Could you please post an example of how the base object is used in
JavaScript? I'm not familiar with it.
Regards,
Gabriel
|