[Laszlo-dev] For Review: Change 20080229-dda-y Summary: Doc: Set type defaults for attributes to 'expression'.

Donald Anderson dda at ddanderson.com
Fri Feb 29 13:02:51 PST 2008


Change 20080229-dda-y by dda at lester.local on 2008-02-29 13:57:49 EST
     in /Users/clients/laszlo/src/svn/openlaszlo/trunk-doc2
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Doc: Set type defaults for attributes to 'expression'.

New Features:

Bugs Fixed: LPP-5528

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: lou (pending)

Documentation:

Release Notes:

Details:
     Note that a full ant build of doc may be required to see changes
     (I was not seeing changes until I did that).

     Any attributes of classes defined in lzx with no type information  
are
     now set to Tag type: expression JS type: any

     'expression' simply means that a type was not selected.  Typically,
     this means that a type could have, and should be indicated.  For  
example,
     hbox.inset has no type, but it's initial value is 0, and if I  
were to say
     hbox.inset = 'hello', I would get strange results.  So really, its
     type should be indicated in the lzx file as 'Number'.  This  
change, then,
     provides compatibility for dealing with missing information, but
     there is still the underlying issue that the info is missing.

Tests:
    cd docs/src; ant clean; ant
    look at output, for example, hbox.

Files:
M      docs/src/xsl/js2doc2dbk/utilities.xsl
M      docs/src/xsl/lzx2js2doc.xsl

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080229-dda-y.tar



--

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

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






More information about the Laszlo-dev mailing list