jquery event: Now using an internal argument to detect if bubbling on $.event.trigger...
authorAriel Flesler <aflesler@gmail.com>
Fri, 2 Jan 2009 23:07:16 +0000 (23:07 +0000)
committerAriel Flesler <aflesler@gmail.com>
Fri, 2 Jan 2009 23:07:16 +0000 (23:07 +0000)
commitb2552e6ea35a1e00675d70a615d3af83137965df
tree5a77bb35d228d698885b189a3fe73f54d46e20e5
parent989e3f61f78c773d5c6066152c0bf3fd61d752ed
jquery event: Now using an internal argument to detect if bubbling on $.event.trigger. The other would fail when it receives an event object with target. Also, the target isn't nulled anymore.
In addition, there was a lot of code running O(n) during bubbling while not needed.
src/event.js