Obsolete test code to remove toJSON from .data's return value
|Reported by:||Owned by:|
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.