In your case, why wouldn't you just attach the signal when creating
the element? Otherwise you'd have to listen to any DOM modification
and possibly attach signals to elements added. And that use case
sounds pretty specific to me.
BTW. If you'd like to contribute patches to the MochiKit project, it
would be much easier if you forked the project on GitHub I think. The
move happened quite recently, so I haven't moved all my own patches
yet, but by forking on GitHub it becomes much easier for us
maintainers to pick up patches and ideas.
Cheers,
/Per
> --
> You received this message because you are subscribed to the Google Groups "MochiKit" group.
> To post to this group, send email to moch...@googlegroups.com.
> To unsubscribe from this group, send email to mochikit+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mochikit?hl=en.
>
>
>> and $("selector").live('event', function(){}...) <-- "selector" can
>> exist in the future, doesn't have to now
>>
> You do realize .live is simply event delegation on document with filtering and a bit of
> `this`-munging applied right?
Interesting. I'll take a look down this avenue too - thanks!
_Ryan Wilcox