[Laszlo-dev] initdone, oninit, init

André Bargull andre.bargull at udo.edu
Wed Dec 10 08:21:09 PST 2008


What is `initdone`? I only know `isinited`, which is defined in LzNode...

> It's really too bad that we weren't more consistent here.  It would be  
> more consistent if the method were kept the same (init), but the  
> boolean ought to be `inited`, not initdone.  The only other API like  
> this is the state API where we have an `apply` method which sends the  
> `onapply` event and sets `applied` to true (which sends the  
> `onapplied` event).
>
> I suppose we can never change that...  although we just changed the  
> API for state because it wanted `applied` to be spelled `apply`, which  
> kind of conflicts with the method of the same name.
>   


More information about the Laszlo-dev mailing list