Update $.data to use a function instead of an object when attaching to JS objects...
authorColin Snover <github.com@zetafleet.com>
Mon, 7 Feb 2011 16:48:38 +0000 (10:48 -0600)
committerColin Snover <github.com@zetafleet.com>
Mon, 7 Feb 2011 16:48:38 +0000 (10:48 -0600)
commit7acb141ed7f2dedd950bb65acf878098640d081e
tree89fed709a62740abdd324cbecd0084e8049f0f91
parenta2dbdc1f5438a857c2a9898bd36e4b2de685742e
Update $.data to use a function instead of an object when attaching to JS objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
src/data.js
src/event.js
test/unit/data.js
test/unit/event.js