Make sure attr() works on non DOM element nodes. Fixes #7202, #7451, #7500.
authorAnton M <haskell_noob-github@yahoo.de>
Sat, 13 Nov 2010 13:39:28 +0000 (14:39 +0100)
committerAnton M <haskell_noob-github@yahoo.de>
Sat, 13 Nov 2010 13:39:28 +0000 (14:39 +0100)
commitb50f41a2e3ba9ab9a7bcf69a9633b0a8258015d6
tree8b269cc54707a45f2c268e58ab6b8b1bc66fdd7f
parent49f088f2db21816f4b453ab4a22442ac031ab9bd
Make sure attr() works on non DOM element nodes. Fixes #7202, #7451, #7500.

Also added some tests for this attr(name), attr(name, value) and removeAttr(name).
src/attributes.js
test/unit/attributes.js