[Laszlo-dev] An (easy) question regarding the new class system
Philip Romanik
promanik at laszlosystems.com
Mon Aug 21 19:07:28 EDT 2006
Hi Tucker,
This is what view/LzScript.lzs used to look like:
LzScript = Class(
"LzScript" ,
LzNode ,
function ( parent, args ){
args.script();
}
);
When I converted it, I named the function construct(), and not
initialize(). I think I've introduced a bug here. Can you verify?
This is what LzScript.lzs currently looks like:
class LzScript extends LzNode {
function construct ( parent, args ){
super.construct (parent, args);
args.script();
}
}; // End of LzScript
Shouldn't it be this?
class LzScript extends LzNode {
function initialize ( parent, args ) {
super.initialize (parent, args);
args.script();
}
}; // End of LzScript
Thanks!
Phil
More information about the Laszlo-dev
mailing list