Attach data objects directly to DOM elements
|Reported by:||dmethvin||Owned by:|
Description (last modified by )
Switch to direct attach for those cases. This means we don't need to clean up data and events when elements are removed from the DOM, should be a perf boost.
This will require a change to global events since there will jQuery.cache will no longer contain all data for all objects and jQuery.event.trigger can't sneak a peek into the cache to trigger them.
Need a feature detect I can use to determine whether it's safe to attach data to a DOM object.
Change History (15)
comment:1 Changed 6 years ago by
|Component:||unfiled → event|
|Milestone:||1.next → 1.6|
|Owner:||set to dmethvin|
|Priority:||undecided → high|
|Status:||new → assigned|
comment:3 Changed 6 years ago by
|Milestone:||1.7 → 1.next|
|Status:||assigned → open|