If .attr() is run on no elements undefined should be returned (as should be the case...
authorjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 07:23:38 +0000 (02:23 -0500)
committerjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 07:23:38 +0000 (02:23 -0500)
commitabcc1a76ee2a6733177b2cd104bc32cee5443ec4
tree56f64b98689f8b8aab6934a4807c9b1e9cd8725b
parent83a044f1b5a733dc7ea76dbc9b7dd3a3dc4b7f25
If .attr() is run on no elements undefined should be returned (as should be the case when no attribute is found). Fixes #6012.
src/core.js
test/unit/attributes.js