> > Seems like that could be implemented by just extending the event > > object in jQuery.event.fix with some base object.
> Is that something that can be done via a plugin, or is it either > overwriting the fix method, or overloading it, or is it something that > should be strictly handled by the core? That one-line change in the core jQuery.event.fix would allow you to extend the event object by defining jQuery.eventBase. Of course, there's only one eventBase, so if a lot of people started to use it in plugins there could be conflicts. As long as plugins jQuery.extend-ed eventBase and used good names they should be able to share it effectively though. > > The order that the event is delivered to all the listeners isn't well > > defined, is it? > I always thought that the event order was FIFO. That may be an implementation detail; I couldn't find any place where jQuery documents it. Both IE's attachEvent and the W3C addEventListener say delivery order is not guaranteed, but jQuery doesn't use either in most cases. If events are being dynamically added and removed on DOM objects by multiple plugins, it would seem practically impossible for any particular plugin to know where it stood even if jQuery did guarantee FIFO. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
