Hi

Dan Switzer added a feature request asking for a special property
added to event objects when the event is triggered by $.trigger().

He provided a test case but I'm not yet convinced. Could you give your
opinion on this ?
Additional test cases from many users could help.

I think, in a general way, that if you bind a handler to a certain
event, then it should work the same for real and fake events. Else,
maybe you shouldn't be binding or relying on that event, keeping that
as a function/method instead.

I've seen stuff like:
$(...).click(function(){...}).click();

And I think that's just wrong. Someone else could had been binding to
that click too. I'd save a reference to the function and call it w/o
trigger().

Still.. that's just my POV.

Thanks
--
Ariel Flesler
http://flesler.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to