On 2006-05-12, at 09:33 PDT, Adam Wolff wrote:
> On May 12, P T Withington wrote:
> [snip]
>> Even I don't know (off the top of my head) if args is one of these
>> magic 'inherited hashes' where it is linked by __proto__ to init args
>> from its superclass.
>
> It is. In LzNode:
> if ( ! iargs.$hasdefaultattrs ){
> ...
>
> iargs.__proto__ = this.defaultattrs;
> }
Thanks Adam.
So Phil, this means for this case you will have to test either:
typeof(args.height) == 'undefined'
or:
args['height'] === undefined
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev