Author: hqm
Date: 2007-12-12 10:09:44 -0800 (Wed, 12 Dec 2007)
New Revision: 7519

Modified:
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.lzs
Log:
need to put getAttribute back in, it's still used in too many places.

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.lzs
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.lzs        
2007-12-12 13:13:58 UTC (rev 7518)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.lzs        
2007-12-12 18:09:44 UTC (rev 7519)
@@ -916,25 +916,25 @@
         LzInstantiator.requestInstantiation( this , carr );
     }
 }
-/**
-  * returns the value for a property
-  *
-  * @param String prop: a string specifying the key of attribute to return.
-  * @return any: value of named property
-  */
+
+/* returns the value for a property
+ *
+ * @param String prop: a string specifying the key of attribute to return.
+ * @return any: value of named property
+ */
 function getAttribute(prop) {
-    if ( null == this.getters[ prop ] ){
-        return this[ prop ];
-    } else {
-        return this[ this.getters[ prop ] ] ();
-    }
-
+   if ( null == this.getters[ prop ] ){
+       return this[ prop ];
+   } else {
+       return this[ this.getters[ prop ] ] ();
+   }
 }
 
+
 /**
   * @access private
   */
-prototype.getProp = getAttribute;
+    //prototype.getProp = getAttribute;
 
 /**
   * Sets the named attribute to the given value. If there is no setter for the
@@ -980,7 +980,7 @@
 /**
   * @access private
   */
-prototype._setProp = setProp;
+    //prototype._setProp = setProp;
 
 /**
   * returns the expected value for the specified property, which is the value 
of


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to