Side navigation
#11435 closed bug (fixed)
Opened March 04, 2012 05:49PM UTC
Closed May 16, 2012 06:04PM UTC
Last modified August 10, 2012 12:08AM UTC
Obsolete test code to remove toJSON from .data's return value
Reported by: | amonat@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.8 |
Component: | data | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The ".data()" test in test/unit/data.js has this code (in 2 places):
// TODO: Remove this hack which was introduced for 1.5.1 delete dataObj.toJSON;
Commit d5f144a7 changed the way jQuery.data() works so that the .toJSON isn't included, so I think this code is no longer necessary. I removed it and the test still passed.
Attachments (0)
Change History (4)
Changed March 05, 2012 05:15PM UTC by comment:1
priority: | undecided → low |
---|---|
status: | new → open |
Changed May 16, 2012 06:04PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | open → closed |
Fix #11435. Remove obsolete test code.
Changeset: dc337f628c0d2a4f6d691851eb95a622599e38b2
Changed May 16, 2012 06:13PM UTC by comment:3
milestone: | None → 1.8 |
---|
Changed August 10, 2012 12:08AM UTC by comment:4
component: | unfiled → data |
---|
This was just mentioned in -meeting and it looks like we're going to try addressing it. Marking as valid.