Remove conditional that prevents attr from working on non-Element nodes. Fixes #7451.
authorColin Snover <github.com@zetafleet.com>
Tue, 9 Nov 2010 20:52:20 +0000 (15:52 -0500)
committerJohn Resig <jeresig@gmail.com>
Tue, 9 Nov 2010 20:52:20 +0000 (15:52 -0500)
commita64dc0405064d68c7b7cd0f0fc8ea60086cbcd21
treef86cd11a84ee990049d86f350a6dcd4b5d145919
parentd1a88b2e588ff9ed5b41396152e936012210d225
Remove conditional that prevents attr from working on non-Element nodes. Fixes #7451.
src/attributes.js
test/unit/attributes.js