[Laszlo-dev] For Review: Change 20090429-hqm-L Summary: Implement the DOM Level3 UserData interface

P T Withington ptw at pobox.com
Wed Apr 29 11:51:16 PDT 2009


On 2009-04-29, at 14:41EDT, Henry Minsky wrote:

> OK I think we should go with using type "Object",  which will let  
> someone
> write
> a compact handler inline more easily
>
> mynode.setUserData(key, val, {handler: function (...) { ... }})
>
> rather than having to formally declare a subclass of UserDataHandler

We came to regret allowing Object instead of requiring LzDelegate...   
Could this lead to similar regrets?


More information about the Laszlo-dev mailing list