> LzNode.prototype.__LZstoreRefs = function ( val , prop ){
>     //Debug.write('__LZstoreRefs', this, prop, val);
>     for ( var i in val){
>         var ref = this[i];
>         // if ref is a function, ref == null will be true
>         // but !ref will be false
>         if (ref == null && !ref) this[i] = null;
>     }
>
>     this.__LZstoreAttr( val , prop );
> }

Henry and I propose to replace:

(ref == null && !ref)

with:

(! ref instanceof Function)

since it's not clear the former will work in Javascript.

But we are also mystified as to what exactly this function is trying  
to do.  Can you enlighten us?
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to