[Laszlo-checkins] r12340 - in openlaszlo/trunk/laszlo-explorer: constraints scripting

bargull@openlaszlo.org bargull at openlaszlo.org
Wed Jan 7 10:28:44 PST 2009


Author: bargull
Date: 2009-01-07 10:28:41 -0800 (Wed, 07 Jan 2009)
New Revision: 12340

Modified:
   openlaszlo/trunk/laszlo-explorer/constraints/css.lzx
   openlaszlo/trunk/laszlo-explorer/scripting/events.lzx
Log:
Change 20090107-bargull-GQP by bargull at dell--p4--2-53 on 2009-01-07 19:19:39
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: two small Laszlo in 10 Minutes fixes

New Features:

Bugs Fixed: LPP-7506, LPP-7579

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

Documentation:

Release Notes:

Details:
Fix color by using "lz.colors" and remove copyright from css-example.
skip-pre-commit-checks
    

Tests:



Modified: openlaszlo/trunk/laszlo-explorer/constraints/css.lzx
===================================================================
--- openlaszlo/trunk/laszlo-explorer/constraints/css.lzx	2009-01-07 18:27:17 UTC (rev 12339)
+++ openlaszlo/trunk/laszlo-explorer/constraints/css.lzx	2009-01-07 18:28:41 UTC (rev 12340)
@@ -9,10 +9,6 @@
     <class name="stylableclass" bgcolor="$style{'backgroundColor'}">
         <text fontsize="24" fgcolor="$style{'textColor'}">stylableclass</text>
     </class>
-    
+
     <stylableclass/>
 </canvas>
-<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
-* Use is subject to license terms.                                            *
-* X_LZ_COPYRIGHT_END ****************************************************** -->
\ No newline at end of file

Modified: openlaszlo/trunk/laszlo-explorer/scripting/events.lzx
===================================================================
--- openlaszlo/trunk/laszlo-explorer/scripting/events.lzx	2009-01-07 18:27:17 UTC (rev 12339)
+++ openlaszlo/trunk/laszlo-explorer/scripting/events.lzx	2009-01-07 18:28:41 UTC (rev 12340)
@@ -1,12 +1,12 @@
 <canvas>
   <button onclick="vw.setAttribute('width', 200)">Expand Width</button>
   <button x="120" onclick="vw.setAttribute('width', 100)">Reset</button>
-  
+
   <view id="vw" y="30" width="100" height="100" >
-    
-    <!-- onwidth is sent anytime width is changed --> 
-    <handler name="onwidth" > 
-        this.setAttribute('bgcolor', (this.width > 100 ? red : blue));
+
+    <!-- onwidth is sent anytime width is changed -->
+    <handler name="onwidth" >
+        this.setAttribute('bgcolor', (this.width > 100 ? lz.colors.red : lz.colors.blue));
     </handler>
    </view>
 </canvas>



More information about the Laszlo-checkins mailing list