On 5/15/06, Henry Minsky <
[EMAIL PROTECTED]> wrote:
(sorry if this will not make any sense to everyone, we're playing with a new implementation of classes and
nodes in some temporary scaffolding)
In the NewLzNode, there is makeChild defined like this
NewLzNode.prototype.makeChild = function ( e , async ){...}
But I cannot figure out how to access it on an instance of NewLzNode.
lzx> k = NewLzNode.make()
«¡Instance!#72#74»
lzx> NewLzNode.makeChild
WARNING: interactive-eval-6: reference to undefined property 'makeChild'
What is needed to get the instance to see this method? I thought the code in Instance.make
is supposed to copy these kinds of (old-style) method declarations over to the right place in the class the first time an instance is created.
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
