[Laszlo-user] initdone, oninit, init

P T Withington ptw at pobox.com
Wed Dec 10 07:58:01 PST 2008


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-user mailing list