[Laszlo-dev] Changes to make LzDataNode a base class of LzNode

Philip Romanik promanik at laszlosystems.com
Thu Jan 24 07:23:13 PST 2008


Hi Tucker, Henry,

This lists the changes I made to test LzDataNode 
as the base class of LzNode. I'll keep my changes 
around for a few days/weeks in case we need to revisit it.

Thanks!

Phil


==================


core/Library.lzs   Added LzDataNode include before LzNode include

core/LzNode.lzs
   LzNode extends LzDataNode

   var setters={} moved to LzDataNode and 
initialization moved to individual lines, ie.
   setters.name = “setName”;
   


data/Library.lzs Removed LzDataNode

data/LzDataElement.lzs
   Removed LzMiniNode class
   Removed LzDataElementTrait trait

   LzDataElement extends LzDataNodePlus

   Removed static var valueToElement;

data/LzDataNode.lzs
   included LzDataElementTrait contents

   Added from LzNode:
     var __LZdeleted = false;
     var setters = {} and initialized LzDataNode setters here
     function setAttribute()

   Renamed childOf() to be dataChildOf()  (name collision)

data/LzDataPath.lzs
   childOf references -> dataChildOf

data/LzDatapointer.lzs
   childOf references -> dataChildOf

data/LzDataset.lzs
   LzDataset exends LzNode and nothing else

data/LzDataText.lzs
   LzDataText extends LzDataNode

data/LzReplicationManager.lzs
   childOf references -> dataChildOf
  




More information about the Laszlo-dev mailing list