There is this code in LzParam, which I am wondering if anyone ever uses. It is creating one setter for each parameter passed in at init time (?). But we don't have a tag for LzParam, right? Where would this code have been used?


//==============================================================================
// @keywords private
//==============================================================================
LzParam.prototype.__LZapplyArgs = function ( args ){
    for ( var a in args ){

        var pset = this.setters[ a ];
        if ( pset == null ){
            pset = "$psetter" + a;
            this.setters[ a ] = pset;
            this[ pset ] = this.makeSetterForParam( a );
            //Debug.write( "generated setter: " + pset );
        }

        if ( pset != -1 ){
            //Debug.write( "setter for " + a + " : " + pset );
            this[ pset ] ( args[ a ] );
        }
    }
}




On 4/4/06, Max Carlson <[EMAIL PROTECTED] > wrote:
It shouldn't be, unless people want to use a tag variant of the class.

-Max

Henry Minsky wrote:
>
> var LzParam = Class( "LzParam" , LzNode );
>
> I don't see what LzNode classes lzParam needs to inherit. Anyone know
> why it's a subclass of LzNode?
>
>
>
> --
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] >
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev


--
Regards,
Max Carlson
OpenLaszlo.org



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

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

Reply via email to