Remove elem reference from event handler
|Reported by:||dmethvin||Owned by:||dmethvin|
The reference to the element being handled at https://github.com/jquery/jquery/blob/7f0b28e3083ab8e755801823166e1b008d128242/src/event.js#L80 was there to prevent oldIE leaks so it can be removed in master.
This change will also be useful if we attach data directly to elements, because we may be able to get away with only calling teardown for special events rather than all events on discarded elements.
Change History (3)
comment:1 Changed 3 years ago by dmethvin
- Component changed from unfiled to event
- Milestone changed from None to 2.1
- Owner set to dmethvin
- Priority changed from undecided to low
- Status changed from new to assigned
- Type changed from bug to feature