Re: [qooxdoo-devel] API viewer: Baseclass "Error" not shown correct
Brought to you by:
ecker,
martinwittemann
From: Daniel W. <dan...@1u...> - 2010-06-30 14:24:24
|
Hi Peter, for some reason the Generator ignores any native JavaScript type in the "extend" definition while extracting the superclass information. The "Object" entry at the top of the inheritance hierarchy is added by the APIViewer. You can add an (enhancement) bug report for this issue if you like. Regards, Daniel Peter Schneider schrieb: > Hi there, > > the API viewer does not show correct base class when a class extends e.g. > "Error". > > Just a minor issue, but still an issue. > > This can be seen for example at "qx.type.BaseError". The inheritance hierarchy > shows > ------------------------------- > (C) Object > +- (C) qx.type.BaseError > ------------------------------- > > but should show: > > ------------------------------- > (C) Error > +- (C) qx.type.BaseError > ------------------------------- > because "qx.type.BaseError" extends "Error", not "Object". > > The same is also true for "qx.type.BaseArray" which extends "Array"[1]. > > So to sum it up: I think the generator should handle the native JavaScript > types "Error" and "Array" (at least) at the "extends" key separately. > > Cheers, > Peter > > --- > [1] You might argue that "Array" is only a "primitive datatype wrapper object", > but still I think it's better to show the value of the "extends" key. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > qooxdoo-devel mailing list > qoo...@li... > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > |