And, do we even need LzParam?

lzx> foo = {'a': 'a', 'A': 'A'}
«Object#67| {a: a, A: A}»
lzx> Debug.inspect({a: a, A: A})
{a: a, A: A} {
a: a
A: A
}«Object#67| {a: a, A: A}»
lzx>

Or is it obsolete?

On 2006-05-31, at 12:07 EDT, 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


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to