absolutely

On May 31, P T Withington wrote:

> So if we invert things and have a dictionary as the base class, you could use
> that instead?
> 
> On 2006-05-31, at 14:02 EDT, Adam Wolff wrote:
> 
> > LzParam was supposed to be a LzNode that could function as a dictionary.
> > Probably an override of setAttribute would be more appropriate, but the
> > compiler inlines some of those calls.
> > 
> > A
> > 
> > On May 31, P T Withington wrote:
> > 
> > > [From LzParam]
> > > 
> > > //undefine all setters but name and id
> > > LzParam.prototype.setters.$hasdefaultattrs = -1;
> > > 
> > > //==============================================================================
> > > // @keywords private
> > > //==============================================================================
> > > LzParam.prototype.construct = function ( parent , args ){
> > >   super.construct( parent, args );
> > >   var mysetters ={};
> > >   mysetters.__proto__ = this.setters;
> > >   this.setters = mysetters;
> > >   // construct
> > >   this.d = {};
> > > }
> > > 
> > > The construct method is creating a shadow setters table for every instance
> > > of
> > > LzParam.  Is this really necessary?
> 
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to