[Laszlo-dev] Converting embednew into a class

Donald Anderson dda at ddanderson.com
Fri May 2 20:05:33 PDT 2008


I just put this comment in the JIRA, but it probably needs wider  
exposure:

If there are things that absolutely cannot be handled by converting to  
a class, there is a final 'hack' workaround, which is to put the doc  
into one of docs/src/reference/{langref,wrappers}.xml . This is in the  
xml format that is produced by js2doc, that is to say, the format is  
not well documented, you have to fish around a little to get it to  
work, but you can produce things that look like classes for things  
that aren't really classes. This is how html tags like '<br>' and  
'<p>' get documented, and there are some other special cases that  
don't really work via the normal javadoc.

On May 2, 2008, at 8:10 PM, Max Carlson wrote:

> This code is only used for javascript that's executed in the  
> browser. Can we make the docs work with the existing format instead?
>
> Philip Romanik wrote:
>> http://jira.openlaszlo.org/jira/browse/LPP-4036
>> Hi Max,
>> This jira bug is to convert embednew.js to a class. Isn't this code  
>> only used in a browser window and hence can't be converted into a  
>> class?
>> Thanks!
>> Phil
>
> -- 
> Regards,
> Max Carlson
> OpenLaszlo.org


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080502/a2c20cc4/attachment.html


More information about the Laszlo-dev mailing list