Side navigation
#6189 closed enhancement (fixed)
Opened February 27, 2010 02:49PM UTC
Closed February 27, 2010 02:50PM UTC
Store jQuery.data for plain objects on objects
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | data | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There's no reason to store the data in the jQuery.cache for plain objects as there aren't any memory leak issues associated with it. Instead we can attach the data directly to the objects themselves (allowing them to be garbage collected at a later time).
Discussion:
Attachments (0)
Change History (1)
Changed February 27, 2010 02:50PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed.
http://github.com/jquery/jquery/commit/a49e6b63131e292bc1c31ee98b300ba87ce99162