[Laszlo-checkins] r5822 - openlaszlo/branches/wafflecone/lps/components/utils/replicator

hqm@openlaszlo.org hqm at openlaszlo.org
Thu Jul 26 19:56:45 PDT 2007


Author: hqm
Date: 2007-07-26 19:56:43 -0700 (Thu, 26 Jul 2007)
New Revision: 5822

Modified:
   openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
Log:
add setter declaration in script for setNodes

Modified: openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
===================================================================
--- openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx	2007-07-27 01:01:38 UTC (rev 5821)
+++ openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx	2007-07-27 02:56:43 UTC (rev 5822)
@@ -28,20 +28,6 @@
     <!--- The list of nodes over which this replictor acts -->
     <attribute name="nodes" value="null" setter="this.setNodes(nodes)"/>
     
-    <!--- @keywords private -->
-    <attribute name="_sizes" value="{ x : 'width', y: 'height' }"/>
-    
-    <!--- @keywords private -->
-    <attribute name="_cloneprops" />
-    <!--- @keywords private -->
-    <attribute name="_clonepool" />
-    
-    <!--- @keywords private -->
-    <method name="construct" args="p,a"/>
-    
-    <!--- @keywords private -->
-    <method name="createChildren" args="c" />
-    
     <event name="onnodes"/>
 
     <!--- Replicate over the given list of elements 
@@ -165,6 +151,12 @@
 
     DeclareEvent(prototype, 'onnodes');
 
+    /**
+     * @access private
+     */
+    setters.nodes = "setNodes";
+
+
     // Replicate over the given list of elements 
     // @param Array n: The list of elements over which to replicate 
     function setNodes (n) {



More information about the Laszlo-checkins mailing list