[Laszlo-checkins] r12461 - openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/js2doc

dda@openlaszlo.org dda at openlaszlo.org
Tue Jan 13 11:17:49 PST 2009


Author: dda
Date: 2009-01-13 11:17:47 -0800 (Tue, 13 Jan 2009)
New Revision: 12461

Modified:
   openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/js2doc/PropertyReference.java
Log:
Change 20090113-dda-2 by dda at lester.local on 2009-01-13 12:24:13 EST
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-doc2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix doc support for mixin

New Features:

Bugs Fixed: LPP-7507 [mixin documentation]

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

Documentation:

Release Notes:

Details:
    A simple fix to enable mixin support.
    I think this may have been working some time in the past, but possibly never totally completed.

    Now we show mixins in the inheritance chain (as 'with FirstMixin,SecondMixin')
    and attributes, events and methods inherited from the mixin are shown in the page where expected.

Tests:
    built ref doc and examined <dataset> and <text> pages, they both use mixins



Modified: openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/js2doc/PropertyReference.java
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/js2doc/PropertyReference.java	2009-01-13 18:58:21 UTC (rev 12460)
+++ openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/js2doc/PropertyReference.java	2009-01-13 19:17:47 UTC (rev 12461)
@@ -3,7 +3,7 @@
  * ****************************************************************************/
 
 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
-* Copyright 2007-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2007-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * J_LZ_COPYRIGHT_END *********************************************************/
 
@@ -200,7 +200,7 @@
             }
 
             if (with.length() > 0) {
-                classNode.setAttribute("with", with);
+                classNode.setAttribute("inherits", with);
             }
         } else {
             if (! (withList instanceof ASTEmptyExpression))



More information about the Laszlo-checkins mailing list