I did, just wanted to make it very clear. :) -- Brandon Aaron On Sat, Nov 29, 2008 at 2:15 PM, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> > @Brandon & Karl > > Uh ? no one said we'd remove that... check the patch before jumping to > conclusions :D > > On Sat, Nov 29, 2008 at 5:59 PM, Karl Swedberg <[EMAIL PROTECTED]> > wrote: > > +1 for not taking away the ability to pass in the event type as a string > to > > trigger. I think it would break a lot of pre-existing code if that were > to > > happen. > > > > --Karl > > ____________ > > Karl Swedberg > > www.englishrules.com > > www.learningjquery.com > > > > > > > > On Nov 29, 2008, at 11:48 AM, Brandon Aaron wrote: > > > > I like this as well but I definitely wouldn't take away the ability to > just > > pass in the event type as a string to trigger. I don't want to have to > > create an event object every time I want to trigger an event but wouldn't > > mind passing it in if I already had it on hand. This will provide a nice > way > > to extend the event object itself. I believe Nathan Hammond was asking > about > > this in a thread recently on this list. > > -- > > Brandon Aaron > > > > On Fri, Nov 28, 2008 at 6:14 PM, Ariel Flesler <[EMAIL PROTECTED]> > wrote: > >> > >> Feedback please! :) > >> > >> I really like (and support) this feature. > >> > >> http://dev.jquery.com/ticket/3662 > >> > >> Also... I know that the returned value from jQuery.fn.trigger is used > >> here and there (jQuery UI?). But that behavior is really odd and > >> fragile in my opinion (false overrides any previous value). > >> > >> I think it'd be nice to return true/false depending on whether > >> e.preventDefault() was called. This would be very useful for custom > >> events, to allow event handlers to stop a scheduled (custom) behavior. > >> > >> As an alternative, we could add e.isDefaultPrevented() that retrieves > >> this value from the event object. > >> > >> Note that none of this last 2 behaviors (or the one in the ticket) is > >> my invention. > >> I'm just imitating AS3's event system. I suppose that belongs to some > >> EcmaScript specification as well. > >> > >> http://docs.brajeshwar.com/as3/flash/events/Event.html > >> > >> Thanks > >> > >> -- > >> Ariel Flesler > >> http://flesler.blogspot.com > >> > > > > > > > > > > > > > > > > > > > > > -- > 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 -~----------~----~----~----~------~----~------~--~---
