Make sure that .data() (no args) returns a list of all the data- properties as well...
authorJohn Resig <jeresig@gmail.com>
Sun, 17 Oct 2010 15:42:53 +0000 (11:42 -0400)
committerJohn Resig <jeresig@gmail.com>
Sun, 17 Oct 2010 15:42:53 +0000 (11:42 -0400)
commit8a5df39045292397a06d08b4fab2ad29819b5d44
treeadb77e81f34b5c1bdae860600d73710e3ea618e0
parenta7d0b0b9e887782bf1ed795152a845da87729c52
Make sure that .data() (no args) returns a list of all the data- properties as well. Also make sure that accessing a data- property via .data() doesn't cause it to change again at a later time (it should be static). Fixes #7222, #7223.
src/data.js
test/unit/data.js