[Laszlo-user] JS Class Syntax

P T Withington ptw at pobox.com
Tue Feb 10 03:50:33 PST 2009


Hang on just a sec.

Yes, the LFC is written this way.  And yes we use an intermediate  
language that is based on Javascript 2.  But by no means to we claim  
to support Javascript 2 (especially since it is not even a standard  
yet).

It would be interesting to know what this developer's application is,  
because each time we have _thought_ we needed to do this (e.g., for  
the initial drawview component) we have ended up realizing that the  
problem really was missing functionality in LZX, which, once that was  
added, allowed us to write the component in LZX.

On 2009-02-09, at 21:35EST, Max Carlson wrote:

> It's definitely something we support.  The LFC is written this way...
>
> Antun Karlovac wrote:
>> Hi all,
>> I got a question from a developer about using JavaScript class  
>> syntax (i.e. class MyClass extends SomeLFCClass {}) with LZX.
>> Is that something that we now support in addition to the LZX class  
>> construct? Or should we be steering the community away from it?
>> Thanks,
>> Antun
>
> -- 
> Regards,
> Max Carlson
> OpenLaszlo.org



More information about the Laszlo-user mailing list