Re: [widgets] remove update related methods form A&E

On Apr 6, 2009, at 15:36 , Marcos Caceres wrote:
> I would like to propose we get remove the following methods from the  
> A&E spec:
>
> 7.17 The onbeforeupdate Callback
> 7.18 The onafterupdate Callback
>
> For onbeforeupdate, there is no guarantee that the widget will be
> running when an update is takes place.
> For onafterupdate, late binding of this may make this method
> impractical or just unusable. I.e., when would this method be called?
> When the widget restarts, but after document.onload or before
> document.onload? etc.

Agreed, in many ways they are like install/uninstall, they don't need  
to be exposed (and any use case I can think of can be done without  
them).

-- 
Robin Berjon - http://berjon.com/
     Feel like hiring me? Go to http://robineko.com/

Received on Monday, 6 April 2009 14:50:08 UTC